code: def __getitem__(self, v):
      v = np.ndarray.tolist(v)
      v = tuple(v)
      try:
          return self.cache[v]
      except KeyError:
          xval = LMap(v)
          self.cache[v] = xval
  
          return self.cache[v]
  
imports: from __future__ import division, print_function, absolute_import
  import numpy
  import time
  import logging
  import warnings
  from scipy import spatial
  from scipy.optimize import OptimizeResult, minimize
  from scipy.optimize._shgo_lib import sobol_seq
  from scipy.optimize._shgo_lib.triangulation import Complex
label_desc: Use image node_id 2 for calling the LMapCache obj's underlying member method code with example usage: obj.__getitem__(v) and returns: self, self