MCPcopy Create free account
hub / github.com/apple/axlearn / get_module_outputs

Method get_module_outputs

axlearn/common/module.py:1130–1131  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1128 value: The value to add.
1129 """
1130 return self.get_invocation_context().add_summary(name, value)
1131
1132 def add_state_update(self, name: str, value: Tensor):
1133 """Adds a state update to the output collection of the current context."""
1134 return self.get_invocation_context().add_state_update(name, value)

Callers 4

_get_visual_featuresMethod · 0.45
forwardMethod · 0.45
_metricsMethod · 0.45
_chunked_metricsMethod · 0.45

Calls 1

Tested by 1

forwardMethod · 0.36