def init_weights(self): if self.feat_dim > 0: init_module_weights(self.feat_fc, 0.1) init_module_weights(self.rnn) init_module_weights(self.project_fc, 0.1) if not self.tie_weights: init_module_weights(self.word_classifier, 0.1)
def init_weights(self): init_module_weights(self.rnn)
def init_weights(self): init_module_weights(self.ctx_fc) init_module_weights(self.pi_fc) init_module_weights(self.ctx2mu) init_module_weights(self.ctx2var)
def init_weights(self): init_module_weights(self.embedding, 1.0) init_module_weights(self.linear, 0.1)
def init_weights(self): init_module_weights(self.linear, 0.1)
def init_weights(self): init_module_weights(self.w_query, 0.1) init_module_weights(self.w_context, 0.1) init_module_weights(self.w_emit, 0.1) init_module_weights(self.linear_out, 0.1)
def _init_weights(self): init_module_weights(self.enc2dec_hidden_fc)
def _init_weights(self): init_module_weights(self.unref_fc)
def _init_weights(self): init_module_weights(self.enc2dec_hidden_fc) init_module_weights(self.latent_to_bow) init_module_weights(self.ctx_fc)
def _init_weights(self): init_module_weights(self.output_fc)
def _init_weights(self): init_module_weights(self.regressor_pipe)
def _init_weights(self): init_module_weights(self.mechanism_embeddings) init_module_weights(self.ctx2mech_fc) init_module_weights(self.score_bilinear) init_module_weights(self.ctx_mech_combine_fc) init_module_weights(self.enc2dec_hidden_fc)
def _init_weights(self): init_module_weights(self.classifier_pipe)