cupy.random.bytes#

cupy.random.bytes(length)[源代码][源代码]#

返回随机字节。

备注

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

参见

numpy.random.bytes