MCPcopy Create free account
hub / github.com/alibaba/nann / _resolve_grad_inputs

Function _resolve_grad_inputs

tensorflow/tensorflow/python/ops/cond_v2.py:398–447  ·  view source on GitHub ↗

Returns the tensors to pass as inputs to `grad_graph`. The `grad_graph` may have external references to 1. Its outer graph containing the input gradients. These references are kept as is. 2. Tensors in the forward pass graph. These tensors may not be "live" when the gradient is bein

(cond_graph, grad_graph)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

_IfGradFunction · 0.85
_CaseGradFunction · 0.85

Calls 2

formatMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected