share steps among test and validation steps #8046
Answered
by
tchaton
ItamarKanter
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
-
I'm implementing the same functionality for validation_step and test_step.
Is there a more pythonic way to implement the above? |
Beta Was this translation helpful? Give feedback.
Answered by
tchaton
Jun 21, 2021
Replies: 1 comment
-
Dear @ItamarKanter, I believe this great and pretty pythonic ! You could do this to make it slightly cleaner.
Best, |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ItamarKanter
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dear @ItamarKanter,
I believe this great and pretty pythonic !
You could do this to make it slightly cleaner.
Best,
T.C