How to init parameter of customized layer?

@ptrblck ,
Thank you!

This code solve my issue. Thank you!

I read the link you pasted above. but it doesn’t answer my question:
whare is the difference of parameter, tensor and variable? is there any doc about that?

@ptrblck , Could you please kindly answer the qestion I asked in the link: Nn.parameter re-define question