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

Function _get_structured_grad_output

tensorflow/tensorflow/python/ops/while_v2.py:719–756  ·  view source on GitHub ↗

Returns the values that should be returned from the while grad function. Args: outputs: the raw Tensor outputs of the grad While op. grads: the input gradients to the gradient function. body_grad_graph: _WhileBodyGradFuncGraph. Returns: A list of gradient values. May include No

(outputs, grads, body_grad_graph)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_WhileGradFunction · 0.85

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected