numpy

Tensor.numpy()

Retrieves the data of the tensor.

Returns:

array -- The data of the tensor.

Return type:

numpy.array