class_docstr: An operation to load an array from disk.
  
  See Also
  --------
  load
  
  Notes
  -----
  Non-differentiable.
class_docstr_tok: ["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(
              "Expected a .npy file, got %s instead" % path
          )
      result = np.load(path, mmap_mode=self.mmap_mode)
      if result.dtype != self.dtype:
          raise TypeError(
              "Expected an array of type %s, got %s instead"
              % (self.dtype, result.dtype)
          )
      out[0][0] = result
  
imports: from __future__ import absolute_import, print_function, division
  import numpy
  from theano import gof
  from theano.gof import Constant, Generic, Op
  from theano.gof.sched import key_to_cmp
  from theano.tensor import tensor
  import theano
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