Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/tests/
Dpooling_ops_test.py349 output_gradients = array_ops.placeholder(
354 output_gradients,
362 output_gradients: output_gradient_vals})
385 xla_output_gradients = output_gradients
392 xla_output_gradients = NHWCToNCHW(output_gradients)
420 output_gradients: output_gradient_vals
554 def AvgPoolGrad(inputs, outputs, output_gradients, ksize, strides, padding, argument
559 output_gradients,
Dpooling_ops_3d_test.py34 def _AvgPoolGrad(inputs, outputs, output_gradients, ksize, strides, padding): argument
38 output_gradients,
234 output_gradients = array_ops.placeholder(
239 output_gradients,
246 output_gradients: output_gradient_vals})
270 output_gradients,
287 output_gradients: output_gradient_vals
/external/tensorflow/tensorflow/python/eager/
Dimperative_grad.py36 output_gradients=None, argument
71 output_gradients,
Dbackprop.py535 this_tape, nest.flatten(result), sources, output_gradients=dy)
894 output_gradients=None, argument
948 if output_gradients is not None:
949 output_gradients = [None if x is None else ops.convert_to_tensor(x)
950 for x in nest.flatten(output_gradients)]
956 output_gradients=output_gradients,
Dpywrap_tfe.h183 PyObject* sources, PyObject* output_gradients,
Dpywrap_tfe_src.cc1094 tensorflow::gtl::ArraySlice<PyObject*> output_gradients, in CallBackwardFunction() argument
1096 PyObject* grads = PyTuple_New(output_gradients.size()); in CallBackwardFunction()
1097 for (int i = 0; i < output_gradients.size(); ++i) { in CallBackwardFunction()
1098 if (output_gradients[i] == nullptr) { in CallBackwardFunction()
1103 reinterpret_cast<PyObject*>(output_gradients[i])); in CallBackwardFunction()
1672 PyObject* sources, PyObject* output_gradients, argument
1722 if (output_gradients != Py_None) {
1723 outgrad_vec = MakeTensorList(output_gradients);
Dbackprop_test.py155 dx, = t.gradient([loss, x], [x], output_gradients=[1.0, 2.0])
/external/tensorflow/tensorflow/c/eager/
Dtape.h97 gtl::ArraySlice<Gradient*> output_gradients,
147 gtl::ArraySlice<Gradient*> output_gradients,
401 gtl::ArraySlice<Gradient*> output_gradients, const TensorTape& tensor_tape, in InitialGradients() argument
406 if (output_gradients.empty() || output_gradients[i] == nullptr) { in InitialGradients()
439 (*result)[id].push_back(output_gradients[i]); in InitialGradients()
480 gtl::ArraySlice<Gradient*> output_gradients, in ComputeGradient() argument
490 sources_that_are_targets, output_gradients, in ComputeGradient()
/external/tensorflow/tensorflow/contrib/eager/python/examples/revnet/
Dblocks.py193 gy1, [y1] + self.g.trainable_variables, output_gradients=dy2)
205 fx2, [x2] + self.f.trainable_variables, output_gradients=dx1)
229 gy1, [y1] + self.g.trainable_variables, output_gradients=dy2)
237 dx1 = x1tape.gradient(z1, x1, output_gradients=dz1)
243 fx2, [x2] + self.f.trainable_variables, output_gradients=dz1)
250 dx2 += x2tape.gradient(z2, x2, output_gradients=dy2)
Dops_test.py51 grad, = tape.gradient(y, [x], output_gradients=[dy])
74 grad, = tape.gradient(y, [x], output_gradients=[dy])
Dblocks_test.py155 grads = tape.gradient(y, [x] + vars_, output_gradients=dy)
184 grads = tape.gradient(y, [x] + vars_, output_gradients=dy)
214 dx_true = tape.gradient(y, x, output_gradients=dy)
260 y, [x_true] + residual.trainable_variables, output_gradients=dy)
Drevnet.py178 y, self._init_block.trainable_variables, output_gradients=dy)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-gradient-tape.pbtxt15 …argspec: "args=[\'self\', \'target\', \'sources\', \'output_gradients\', \'unconnected_gradients\'…
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.-gradient-tape.pbtxt15 …argspec: "args=[\'self\', \'target\', \'sources\', \'output_gradients\', \'unconnected_gradients\'…
/external/tensorflow/tensorflow/python/ops/
Dscript_ops.py298 return tape.gradient(eager_outputs, eager_inputs, output_gradients=dy)
/external/tensorflow/tensorflow/python/ops/parallel_for/
Dcontrol_flow_ops_test.py313 grad = g.gradient(loss, x1, output_gradients=ones)
334 grad = g.gradient(loss, x1, output_gradients=ones)