code: def init_weights(self):
      initrange = 0.5
      self.embedding.weight.data.uniform_(-initrange, initrange)
      self.fc.weight.data.uniform_(-initrange, initrange)
      self.fc.bias.data.zero_()
  
imports: import torch.nn
label_desc: Use image node_id 2 for calling the TextSentiment obj's underlying member method code with example usage: obj.init_weights() without return types