class_docstr: Convert a numpy.ndarray to a pytorch.tensor.
class_docstr_tok: ["Convert","a","numpy.ndarray","to","a","pytorch.tensor","."]
docstr: Parameters
  ----------
  numpy_array : np.ndarray
      the numpy array
  
  Returns
  -------
  torch.tensor
      converted torch array with the same values as the numpy array
docstr_tok: ["Parameters","--","--","--","--","--","numpy_array",":","np.ndarray","the","numpy","array","Returns","--","--","--","-","torch.tensor","converted","torch","array","with","the","same","values","as","the","numpy","array"]
code: def __call__(self, numpy_array: np.ndarray) -> torch.tensor:
      """
      Parameters
      ----------
      numpy_array : np.ndarray
          the numpy array
  
      Returns
      -------
      torch.tensor
          converted torch array with the same values as the numpy array
      """
      return torch.from_numpy(numpy_array).contiguous()
  
imports: import torch
  import numpy
label_desc: Use image node_id 1 for calling the NumpyToTorch obj's underlying member method code with example usage: obj.__call__(numpy_array) and returns: torch