code: def reset_parameters(self):
      from fairseq.modules.transformer_sentence_encoder import (
          init_bert_params,
      )
  
      self.apply(init_bert_params)
  
imports: import torch
  import torch.nn
  import torch.nn.functional
  import numpy
  from dataclasses import dataclass
  from fairseq.modules import LayerNorm, SamePad, SamePad2d, TransposeLast
label_desc: Use image node_id 2 for calling the EncDecTransformerDecoder obj's underlying member method code with example usage: obj.reset_parameters() without return types