Thanks, so if I obtain the p parameter through information from other layers, this should work?
Also, do I need to specify training=True inside the Forward method, or does that automatically get passed along during training?