def reset_parameters(self):
stdv = <NUM_LIT:1.0> / math.sqrt(self.num_features)<EOL>self.weight.weight.data.uniform_(-stdv, stdv)<EOL>if self.bias is not None:<EOL><INDENT>self.bias.data.uniform_(-stdv, stdv)<EOL><DEDENT>if self.padding_idx is not None:<EOL><INDENT>self.weight.weight.data[self.padding_idx].fill_(<NUM_LIT:0>)<EOL><DEDENT>
Reinitiate the weight parameters.