cupy.random.bytes#

cupy.random.bytes(length)[source]#

Returns random bytes.

Note

This function is just a wrapper for numpy.random.bytes. The resulting bytes are generated on the host (NumPy), not GPU.

See also

numpy.random.bytes