class_docstr: Container module with an encoder, a recurrent module, and a decoder.
  
  Based on official pytorch examples
code: def init_weights(self):
      initrange = 0.1
      self.encoder.weight.data.uniform_(-initrange, initrange)
  
file_path: TextAttack/textattack/constraints/grammaticality/language_models/learning_to_write/rnn_model.py
imports: from torch import nn
  from torch.autograd import Variable
  from .adaptive_softmax import AdaptiveSoftmax
label_desc: Use image node_id 2 for calling the RNNModel obj's underlying member method code with example usage: obj.init_weights() without return types