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

Function forward_impl

axlearn/common/base_layer_test.py:121–123  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

119
120def _callback_primitive(forward, backward):
121 def forward_impl(x):
122 forward()
123 return x
124
125 def backward_impl(x):
126 backward()

Callers

nothing calls this directly

Calls 1

forwardFunction · 0.85

Tested by

no test coverage detected