Is there any convenient way of knowing whether the forward is called during training or eval, I would like to apply the dropout mask in between the sequential classes in the forward function.
I guess passing a parameter in forward() is not recommended?
Thank you.