class_docstr: A masker that is a combination of a masker and a model and outputs both masked args and the model's output.
      
docstr: Mask the args using the masker and return a tuple containing the masked input and the model output on the args.
          
docstr_tok: ["Mask","the","args","using","the","masker","and","return","a","tuple","containing","the","masked","input","and","the","model","output","on","the","args","."]
code: def __call__(self, mask, *args):
      """Mask the args using the masker and return a tuple containing the masked input and the model output on the args."""
      masked_X = self.masker(mask, *args)
      y = self.model(*args)
      # wrap model output
      if not isinstance(y, tuple):
          y = (y,)
      # wrap masked input
      if not isinstance(masked_X, tuple):
          masked_X = (masked_X,)
      return masked_X + y
  
file_path: shap/shap/maskers/_output_composite.py
imports: from .._serializable import Deserializer, Serializer
  from ._masker import Masker
label_desc: Use image node_id 2 for calling the OutputComposite obj's underlying member method code with example usage: obj.__call__(mask) and returns: unknown