class_docstr: This method should have a common interface such that it can be called after
  the encoder as well as after the decoder
class_docstr_tok: ["This","method","should","have","a","common","interface","such","that","it","can","be","called","after","the","encoder","as","well","as","after","the","decoder"]
code: def reset_incremental_states(self):
      for idx, _model in enumerate(self.models):
          self.incremental_states[str(idx)] = {}
  
file_path: pytext/pytext/torchscript/seq2seq/decoder.py
imports: from typing import Dict, List, Tuple
  import torch
  import torch.jit
  import torch.jit.quantized
  from torch import nn, Tensor
label_desc: Use image node_id 2 for calling the DecoderBatchedStepEnsemble obj's underlying member method code with example usage: obj.reset_incremental_states() without return types