class_docstr: An operation to load an array from disk.
  
  See Also
  --------
  load
  
  Notes
  -----
  Non-differentiable.
code: def perform(self, node, inp, out):
      path = inp[0]
      if path.split(".")[-1] == "npz":
          raise ValueError(f"Expected a .npy file, got {path} instead")
      result = np.load(path, mmap_mode=self.mmap_mode)
      if result.dtype != self.dtype:
          raise TypeError(
              f"Expected an array of type {self.dtype}, got {result.dtype} instead"
          )
      out[0][0] = result
  
file_path: pytensor/pytensor/tensor/io.py
imports: import numpy
  from pytensor.graph.basic import Apply, Constant
  from pytensor.graph.op import Op
  from pytensor.link.c.type import Generic
  from pytensor.tensor.type import tensor
label_desc: Use image node_id 3 for calling the LoadFromDisk obj's underlying member method code with example usage: obj.perform(node, inp, out) without return types