mars.tensor.random.bytes#

mars.tensor.random.bytes(length)[source]#

Return random bytes.

lengthint

Number of random bytes.

outstr

String of length length.

>>> import mars.tensor as mt
>>> mt.random.bytes(10)
' eh

2SZ¿¤’ #random