class_docstr: Model-provided salience interpreter.
class_docstr_tok: ["Model-provided","salience","interpreter","."]
code: def _run_single(
      self,
      ex: JsonDict,
      mo: JsonDict,
      fields: list[str],
      model: lit_model.Model,
  ) -> dict[str, SalienceTypes]:
      # Extract the saliency outputs from the model.
      result = {}
      for sal_field in fields:
          result[sal_field] = mo[sal_field]
      return result
  
file_path: lit/lit_nlp/components/model_salience.py
imports: from typing import Optional, Union
  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.lib import utils
label_desc: Use image node_id 3 for calling the ModelSalience obj's underlying member method code with example usage: obj._run_single(ex, mo, fields, model) and returns: result