Random Sample
op_random_sample(weights, num_samples, allow_duplicates, seed = 4294967293, name = "")
(str) the name of the Function instance in the network