MCPcopy Create free account
hub / github.com/benoitsteiner/tensorflow-opencl / _record_gradient

Function _record_gradient

tensorflow/python/eager/backprop.py:238–288  ·  view source on GitHub ↗

Records gradients for a TensorFlow operation. Args: op_name: Name of the TensorFlow operation (see REGISTER_OP in C++ code) to execute. inputs: A flat list of Tensor object inputs to the operation. attrs: A tuple with alternating string attr names and attr values for this

(op_name, inputs, attrs, results, name)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

record_operationMethod · 0.80

Tested by

no test coverage detected