class_docstr: This is the superclass of all models.
      
code: def __call__(self, *args):
      out = self.inner_model(*args)
      is_tensor = safe_isinstance(out, "torch.Tensor")
      out = out.cpu().detach().numpy() if is_tensor else np.array(out)
      return out
  
file_path: shap/shap/models/_model.py
imports: import numpy
  from .._serializable import Deserializer, Serializable, Serializer
  from ..utils import record_import_error, safe_isinstance
label_desc: Use image node_id 2 for calling the Model obj's underlying member method code with example usage: obj.__call__() and returns: out