code: def reset(self, init=0.1):
      self.head.weight.data.uniform_(-init, init)
      for tail in self.tail:
          for layer in tail:
              layer.weight.data.uniform_(-init, init)
  
file_path: TextAttack/textattack/constraints/grammaticality/language_models/learning_to_write/adaptive_softmax.py
imports: import torch
  from torch import nn
  from torch.autograd import Variable
  from torch.nn.functional import log_softmax
  import textattack
label_desc: Use image node_id 2 for calling the AdaptiveSoftmax obj's underlying member method code with example usage: obj.reset(init) without return types