class_docstr: Convert from Numpy array to PyTorch Tensor.
code: def __init__(self):
      super().__init__()
  
imports: import torch
  import numpy
  from typing import Callable, Optional, Tuple
  from ..pipeline.allocation_query import AllocationQuery
  from ..pipeline.operation import Operation
  from ..pipeline.state import State
  from dataclasses import replace
label_desc: Use image node_id 1 to create a new ToTensor object from inherited base classes: Operation with example: obj = ToTensor()