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