I don’t think that’s entirely true, as my posted translation contains more details than the initial post, which might be helpful to answer the question. 
@ChenzhouWeiYu to register parameters (such as conv weights) in the forward method of your model, you can either use self.register_parameter or assign the nn.Parameter to an internal attribute via self.param = nn.Parameter(...).