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

Method is_training

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

Source from the content-addressed store, hash-verified

1101 raise RuntimeError(
1102 f"Module mismatch: {context.module} vs. {self}. "
1103 "Are the module methods wrapped for auto-child-context?"
1104 )
1105 return context
1106
1107 @property

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected