qfeval_functions.functions.rand

rand(*size, dtype=None, device=None)[source]

Returns a tensor filled with random numbers from a uniform distribution on the interval [0, 1). If the seed is fixed, it must be reproducible in any device.

Return type:

Tensor