PytorchBackend.tobytes#

PytorchBackend.tobytes(arr)[source]#

Compute the bytestring representation of arr.

Parameters:
arrBackendArray

Input data.

Returns:
str

Bytestring representation of arr.