thank you for the reply.
yes, I defined a nn.module, but how can I pass that epoch during training?
In training once I have defined my loss function, after that it is only loss.item() or loss.backward() right, could you give a simple example how I could pass the parameter?
thank you for the help.