class_docstr: A base class for all interpreters that use the Saliency library.
class_docstr_tok: ["A","base","class","for","all","interpreters","that","use","the","Saliency","library","."]
code: def is_compatible(
      self, model: lit_model.Model, dataset: lit_dataset.Dataset
  ) -> bool:
      del dataset  # Unused as salience comes from the model.
      fields = find_supported_fields(
          model.input_spec(), model.output_spec()
      )
      return fields is not None
  
imports: import abc
  from collections.abc import Callable
  from typing import Any, NamedTuple, Optional, cast
  from absl import logging
  from lit_nlp.api import components
  from lit_nlp.api import dataset
  from lit_nlp.api import model
  from lit_nlp.api import types
  from lit_nlp.lib import image_utils
  from lit_nlp.lib import utils
  import numpy
  import saliency
label_desc: Use image node_id 2 for calling the SaliencyLibInterpreter obj's underlying member method code with example usage: obj.is_compatible(model, dataset) and returns: unknown