flopscope.

flopscope.numpy.random.sample

fnp.random.sample(*args, **kwargs)[flopscope source]

This is an alias of `random_sample`. See `random_sample` for the complete documentation.

Adapted from NumPy docs np.random.sample

Arearandom
Typecustom
Cost
per-operation
Flopscope Context

Sampling; cost = numel(output).

This is an alias of random_sample. See random_sample for the complete documentation.