MCPcopy Create free account
hub / github.com/PythonOT/POT / grad

Method grad

ot/backend.py:2937–2938  ·  view source on GitHub ↗
(upstream)

Source from the content-addressed store, hash-verified

2935 @tf.custom_gradient
2936 def tmp(input):
2937 def grad(upstream):
2938 return grads
2939
2940 return val, grad
2941

Callers 3

test_gradients_backendsFunction · 0.80

Calls

no outgoing calls

Tested by 2

test_gradients_backendsFunction · 0.64