class_docstr: SGDDecoder
class_docstr_tok: ["SGDDecoder"]
docstr: Args:
      encoded_utterance: [CLS] token hidden state from BERT encoding of the utterance
      token_embeddings: token embeddings from BERT encoding of the utterance
      utterance_mask: utterance mask wiht 0 for padding
docstr_tok: ["Args",":","encoded_utterance",":","[","CLS","]","token","hidden","state","from","BERT","encoding","of","the","utterance","token_embeddings",":","token","embeddings","from","BERT","encoding","of","the","utterance","utterance_mask",":","utterance","mask","wiht","0","for","padding"]
code: def forward(
      self, encoded_utterance, token_embeddings, utterance_mask
  ):
      """
      Args:
          encoded_utterance: [CLS] token hidden state from BERT encoding of the utterance
          token_embeddings: token embeddings from BERT encoding of the utterance
          utterance_mask: utterance mask wiht 0 for padding
      """
      _, _ = encoded_utterance.size()
      logit_intent_status = self._get_intents(encoded_utterance)
  
      logit_req_slot_status = self._get_requested_slots(
          encoded_utterance
      )
  
      (
          logit_cat_slot_status,
          logit_cat_slot_value_status,
      ) = self._get_categorical_slot_goals(encoded_utterance)
  
      (
          logit_noncat_slot_status,
          logit_spans,
      ) = self._get_noncategorical_slot_goals(
          encoded_utterance=encoded_utterance,
          utterance_mask=utterance_mask,
          token_embeddings=token_embeddings,
      )
  
      return (
          logit_intent_status,
          logit_req_slot_status,
          logit_cat_slot_status,
          logit_cat_slot_value_status,
          logit_noncat_slot_status,
          logit_spans,
      )
  
file_path: NeMo/nemo/collections/nlp/modules/dialogue_state_tracking/sgd_decoder.py
imports: from typing import Dict, Optional
  import torch
  from torch import nn
  from nemo.core.classes import NeuralModule, typecheck
  from nemo.core.neural_types import LogitsType, NeuralType
label_desc: Use image node_id 3 for calling the SGDDecoder obj's underlying member method code with example usage: obj.forward(encoded_utterance, token_embeddings, utterance_mask) and returns: logit_intent_status,  logit_req_slot_status,  logit_cat_slot_status,  logit_cat_slot_value_status,  logit_noncat_slot_status,  logit_spans