Replies: 1 comment
-
You can access the class CustomModule:
def __init__(self):
self.message_hub = MessageHub.get_current_instance()
def forward(self, xxx):
epoch = message_hub.get_info('epoch') References: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
if i want to access the current epoch inside the model forwarding, i have to access the runner, but how can i do that?
Beta Was this translation helpful? Give feedback.
All reactions