code: def __call__(self, sample):
      for key in sample:
          if isinstance(sample[key], np.ndarray):
              sample[key] = np.ascontiguousarray(sample[key])
      return sample
  
imports: import numpy
label_desc: Use image node_id 2 for calling the AsContiguousArray obj's underlying member method code with example usage: obj.__call__(sample) and returns: sample