MCPcopy Create free account
hub / github.com/b45ch1/algopy / pullback

Method pullback

algopy/tracer/tracer.py:117–175  ·  view source on GitHub ↗

Apply the pullback of the cotangent element, e.g. for:: y = y(x) compute:: ybar dy(x) = xbar dx

(self, xbar_list)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

gradientMethod · 0.95
jacobianMethod · 0.95
vec_jacMethod · 0.95
hessianMethod · 0.95
hess_vecMethod · 0.95
vec_hessMethod · 0.95
vec_hess_vecMethod · 0.95
test_powMethod · 0.95
test_sumMethod · 0.95
test_negMethod · 0.95
test_pullback_reshapeMethod · 0.95
test_pullback_diagMethod · 0.95

Calls 1

xbar_from_xMethod · 0.80

Tested by 15

test_powMethod · 0.76
test_sumMethod · 0.76
test_negMethod · 0.76
test_pullback_reshapeMethod · 0.76
test_pullback_diagMethod · 0.76
test_pullbackMethod · 0.76
test_pullback2Method · 0.76
test_pullback3Method · 0.76
test_pullback4Method · 0.76
test_pullback5Method · 0.76
test_pullback_invMethod · 0.76