code: def reset_parameters(self):
      if self.embedding:
          init_parameter_matrix(self.E.weight)
      elif not self.constrained_embedding:
          self.GE.reset_parameters()
      for i in range(len(self.G)):
          init_parameter_matrix(self.G[i].weight_ih, dim1_scale=3)
          init_parameter_matrix(self.G[i].weight_hh, dim1_scale=3)
          nn.init.zeros_(self.G[i].bias_ih)
          nn.init.zeros_(self.G[i].bias_hh)
      init_parameter_matrix(self.Wy.weight)
      nn.init.zeros_(self.By.weight)
  
imports: from collections import Counter
  import numpy
  import torch
  from torch import nn
  from torch.autograd import Variable
  from torch.optim import Optimizer
  from cornac.utils.common import get_rng
label_desc: Use image node_id 2 for calling the GRU4RecModel obj's underlying member method code with example usage: obj.reset_parameters() without return types