ezyrb.approximation.ann.ANN._convert_torch_to_numpy

ANN._convert_torch_to_numpy(tensor)[source]

Converting data type.

Parameters:

tensor (torch.Tensor) – input tensor.

Returns:

the vectorial counter-part of the input tensor.

Return type:

numpy.ndarray.