Home
last modified time | relevance | path

Searched refs:unconnected_gradients (Results 1 – 16 of 16) sorted by relevance

/external/tensorflow/tensorflow/python/eager/
Dimperative_grad.py24 from tensorflow.python.ops.unconnected_gradients import UnconnectedGradients
37 unconnected_gradients=UnconnectedGradients.NONE): argument
62 unconnected_gradients = UnconnectedGradients(unconnected_gradients)
65 "Unknown value for unconnected_gradients: %r" % unconnected_gradients)
72 compat.as_str(unconnected_gradients.value))
Dbackprop.py42 from tensorflow.python.ops.unconnected_gradients import UnconnectedGradients
895 unconnected_gradients=UnconnectedGradients.NONE): argument
957 unconnected_gradients=unconnected_gradients)
968 unconnected_gradients=UnconnectedGradients.NONE, argument
1026 unconnected_gradients=unconnected_gradients)
1069 unconnected_gradients=UnconnectedGradients.NONE, argument
1154 unconnected_gradients=unconnected_gradients)
Dpywrap_tfe.h184 PyObject* unconnected_gradients,
DBUILD390 "//tensorflow/python:unconnected_gradients",
487 "//tensorflow/python:unconnected_gradients",
Dbackprop_test.py855 dz_dx = g.gradient(z, x, unconnected_gradients='zero')
868 g.gradient(z, x, unconnected_gradients='nonsense')
887 dy_dx = g.gradient(y, x, unconnected_gradients='zero')
Dpywrap_tfe_src.cc1673 PyObject* unconnected_gradients, argument
1747 strcmp(TFE_GetPythonString(unconnected_gradients), "zero") == 0;
/external/tensorflow/tensorflow/python/ops/
Dgradients_impl.py39 from tensorflow.python.ops.unconnected_gradients import UnconnectedGradients
52 unconnected_gradients=UnconnectedGradients.NONE): argument
158 unconnected_gradients)
170 unconnected_gradients=UnconnectedGradients.NONE): argument
274 unconnected_gradients)
Dgradients_util.py43 from tensorflow.python.ops.unconnected_gradients import UnconnectedGradients
554 unconnected_gradients=UnconnectedGradients.NONE, argument
563 unconnected_gradients = UnconnectedGradients(unconnected_gradients)
566 "Unknown value for unconnected_gradients: %r" % unconnected_gradients)
778 return [_GetGrad(grads, x, unconnected_gradients) for x in xs]
846 def _GetGrad(grads, t, unconnected_gradients): argument
851 if unconnected_gradients == UnconnectedGradients.ZERO:
854 elif unconnected_gradients == UnconnectedGradients.NONE:
858 "Unknown value for unconnected_gradients: %r" % unconnected_gradients)
Dgradients.py28 from tensorflow.python.ops.unconnected_gradients import UnconnectedGradients
Dgradients_test.py368 [y], [x], unconnected_gradients="none")
376 [y], [x], unconnected_gradients="zero")
385 [y], [x], unconnected_gradients="zero")
395 gradients.gradients([y], [x], unconnected_gradients="nonsense")
Dwhile_v2.py503 unconnected_gradients="zero")
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-gradient-tape.pbtxt11 …argspec: "args=[\'self\', \'target\', \'source\', \'unconnected_gradients\', \'parallel_iterations…
15 …"args=[\'self\', \'target\', \'sources\', \'output_gradients\', \'unconnected_gradients\'], vararg…
19 …argspec: "args=[\'self\', \'target\', \'sources\', \'unconnected_gradients\', \'parallel_iteration…
Dtensorflow.pbtxt1357 …\'gate_gradients\', \'aggregation_method\', \'stop_gradients\', \'unconnected_gradients\'], vararg…
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.-gradient-tape.pbtxt11 …argspec: "args=[\'self\', \'target\', \'source\', \'unconnected_gradients\', \'parallel_iterations…
15 …"args=[\'self\', \'target\', \'sources\', \'output_gradients\', \'unconnected_gradients\'], vararg…
19 …argspec: "args=[\'self\', \'target\', \'sources\', \'unconnected_gradients\', \'parallel_iteration…
Dtensorflow.pbtxt645 …\'gate_gradients\', \'aggregation_method\', \'stop_gradients\', \'unconnected_gradients\'], vararg…
/external/tensorflow/tensorflow/python/
DBUILD2466 ":unconnected_gradients",
2501 ":unconnected_gradients",
2524 ":unconnected_gradients",
2534 name = "unconnected_gradients",
2535 srcs = ["ops/unconnected_gradients.py"],