code: def __init__(
      self, doc_scores: jit.ScriptModule, word_scores: jit.ScriptModule
  ):
      super().__init__()
      self.doc_scores = doc_scores
      self.word_scores = word_scores
      log_class_usage(__class__)
  
imports: from typing import Any, Dict, List, Optional, Tuple, Union
  import torch
  import torch.nn
  from caffe2.python import core
  from pytext.common.constants import DatasetFieldName
  from pytext.data.utils import Vocabulary
  from pytext.models.module import create_module
  from pytext.utils.usage import log_class_usage
  from torch import jit
  from .doc_classification_output_layer import ClassificationOutputLayer
  from .output_layer_base import OutputLayerBase
  from .utils import query_word_reprs
  from .word_tagging_output_layer import CRFOutputLayer, WordTaggingOutputLayer
label_desc: Use image node_id 1 to create a new IntentSlotScores object from inherited base classes: nn with example: obj = IntentSlotScores(doc_scores, word_scores)