class_docstr: Salience map using the values of gradient * input as attribution.
class_docstr_tok: ["Salience","map","using","the","values","of","gradient","*","input","as","attribution","."]
code: def is_compatible(
      self, model: lit_model.Model, dataset: lit_dataset.Dataset
  ) -> bool:
      del dataset  # Unused by Grad*Input
      return bool(self.find_fields(model.output_spec()))
  
imports: from typing import cast, Optional
  from absl import logging
  from lit_nlp.api import components
  from lit_nlp.api import dataset
  from lit_nlp.api import dtypes
  from lit_nlp.api import model
  from lit_nlp.api import types
  from lit_nlp.components.citrus import utils
  from lit_nlp.lib import utils
  import numpy
label_desc: Use image node_id 4 for calling the GradientDotInput obj's underlying member method code with example usage: obj.is_compatible(model, dataset) and returns: bool