nn.Parameter vs. register_parameter()

I dont quite get the difference between both mechanisms of adding and registering a possibly differentiable Parameter to a module. The docs dont specify exactly what distinguishes those two methods.

Advise is appreciated

No difference. register_parameter() will allow you to register None as a parameter though in case you want to let the model know there will be a parameter with a specific name, but you don’t want to assign the parameter yet