training_step and forward #9486
Unanswered
9p15p
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
In tutorial,
why do we say "We recommend using forward for inference/predictions and keeping training_step independent."
It seems that unifing the code of the network in
forward
is more compact and easy to modify.Beta Was this translation helpful? Give feedback.
All reactions