code: def _getslice(self, maps):
          
          invals =  maps[list(self.inputs)[0]]
          if not isinstance(invals, (numpy.ndarray, list)):
              getslice = 0
          else:
              getslice = slice(None, None)
          return getslice
docs: Determines how to slice the scratch for returning values.