ezyrb.approximation.ann.ANN._convert_numpy_to_torch

ANN._convert_numpy_to_torch(array)[source]

Converting data type.

Parameters:

array (numpy.ndarray) – input array.

Returns:

the tensorial counter-part of the input array.

Return type:

torch.Tensor.