buffer

Tensor.buffer()

Retrieves the buffer that holds the data of the tensor.

Returns:

array -- The buffer that holds the tensor data.

Return type:

numpy.array