class_docstr: An example for training/inference.
class_docstr_tok: ["An","example","for","training\/inference","."]
docstr: Add intents to InputExample
  Args:
      frame: frame object from which intents are extracted
docstr_tok: ["Add","intents","to","InputExample","Args",":","frame",":","frame","object","from","which","intents","are","extracted"]
code: def add_intents(self, frame):
      """Add intents to InputExample
      Args:
          frame: frame object from which intents are extracted
      """
      all_intents = self.service_schema.intents
      intent = all_intents[self.intent_id]
      if intent == frame["labels"]["intent"]:
          self.intent_status = STATUS_ACTIVE
  
file_path: NeMo/nemo/collections/nlp/data/dialogue/input_example/sgd_input_example.py
imports: from typing import List
  from nemo.collections.nlp.data.dialogue.input_example.input_example import DialogueInputExample
  from nemo.utils import logging
label_desc: Use image node_id 10 for calling the SGDInputExample obj's underlying member method code with example usage: obj.add_intents(frame) without return types