/external/tensorflow/tensorflow/python/ops/ |
D | gradients_util.py | 191 def _DefaultGradYs(grad_ys, argument 213 if len(grad_ys) != len(ys): 214 raise ValueError("Passed %d grad_ys for %d ys" % (len(grad_ys), len(ys))) 215 grad_ys = ops.convert_n_to_tensor_or_indexed_slices(grad_ys, name="grad_y") 217 for i in xrange(len(grad_ys)): 218 grad_y = grad_ys[i] 548 grad_ys=None, argument 583 if grad_ys is None: 584 grad_ys = [None] * len(ys) 586 grad_ys = _AsList(grad_ys) [all …]
|
D | gradients_impl.py | 46 grad_ys=None, argument 156 ys, xs, grad_ys, name, colocate_gradients_with_ops, 165 grad_ys=None, argument 272 ys, xs, grad_ys, name, True, gate_gradients,
|
D | cond_v2.py | 280 grad_ys = [] 285 grad_ys.append(grad_y) 292 ys, func_graph.inputs, grad_ys=grad_ys,
|
D | while_v2.py | 494 grad_ys = args[3:] 502 ys, xs, grad_ys=grad_ys, src_graph=func_graph,
|
D | gradients_test.py | 240 dx, = gradients.gradients(y, x, grad_ys=dy) 925 grads = gradients.gradients(out, [x, variables[0]], grad_ys=out_grad) 1043 grads = gradients.gradients(out, [x, variables[0]], grad_ys=out_grad) 1054 grads = gradients.gradients(out, [x, variables[0]], grad_ys=out_grad) 1136 grad = gradients.gradients(tl, a, grad_ys=grad_tl)[0]
|
/external/tensorflow/tensorflow/contrib/nn/python/ops/ |
D | fwd_gradients.py | 57 dydxs = gradients(ys, xs, grad_ys=us) 74 dysdx = gradients(dydxs, us, grad_ys=grad_xs)
|
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
D | rev_block_lib.py | 90 def _rev_layer_backward(ys, grad_ys, f, g, f_vars, f_side_input, g_vars, argument 94 grad_y1, grad_y2 = grad_ys 246 def _efficient_grad_fn(*grad_ys, **kwargs): argument 298 ys, grad_ys, f_ret, g_ret = _rev_layer_backward( 299 ys, grad_ys, f[i], g[i], f_vars[i], self.f_side_input, g_vars[i], 331 grad_x1, grad_x2 = grad_ys
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | tensor_array_ops_test.py | 722 ys=[r0], xs=[value_0], grad_ys=[c([[2.0, 3.0]])]) 729 grad_ys=[c([[2.0, 3.0]]), c([[1.0, -1.0]])]) 734 ys=[r1], xs=[value_1], grad_ys=[c(-2.0)]) 742 grad_ys=[c([[2.0, 3.0]]), c([[1.0, -1.0]]), c(-2.0)]) 775 grad_ys=[ 838 grad_ys=[[2.0, 3.0], [-1.5, 1.5], [4.0, 5.0]]) 865 grad_ys=[[[2.0, -2.0], [20.0, -20.0], [200.0, -200.0]]]) 888 ys=[r0, r1], xs=[value], grad_ys=[[2.0, 3.0], [4.0, 5.0]]) 1292 grad_r0 = gradients_impl.gradients(ys=[r0], xs=[x], grad_ys=[1.0]) 1309 grad_r0_x1 = gradients_impl.gradients(ys=[r0], xs=[x0, x1], grad_ys=[1.0]) [all …]
|
D | nth_element_op_test.py | 169 values, inputs, grad_ys=[[-1., 2., 5.]]),
|
D | topk_op_test.py | 213 values, inputs, grad_ys=[[[1., 2., 3.], [4., 5., 6.]]]),
|
D | diag_op_test.py | 202 grads = gradients_impl.gradients(output, [mat, v], grad_ys=grad_input)
|
D | array_ops_test.py | 855 slice_val_grad, = gradients_impl.gradients(slice_val, self.var, grad_ys=dy) 857 slice_val_grad, dy, grad_ys=self.var)
|
D | cwise_ops_test.py | 1158 g = gradients_impl.gradients(y, args, grad_ys=grad_y)
|
D | control_flow_ops_py_test.py | 3386 grad_ys = [variables.VariableV1(73)._ref()] # pylint: disable=protected-access 3387 grad = gradients_impl.gradients([r[1]], [x], grad_ys=grad_ys)
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | tensor_array_ops_test.py | 463 ys=[r0], xs=[value_0], grad_ys=[c([[2.0, 3.0]])]) 470 grad_ys=[c([[2.0, 3.0]]), c([[1.0, -1.0]])]) 475 ys=[r1], xs=[value_1], grad_ys=[c([[-2.0, -4.0]])]) 483 grad_ys=[c([[2.0, 3.0]]), c([[1.0, -1.0]]), c([[-2.0, -10.0]])]) 517 grad_ys=[ 566 grad_ys=[[2.0, 3.0], [-1.5, 1.5], [4.0, 5.0]]) 591 grad_ys=[[[2.0, -2.0], [20.0, -20.0], [200.0, -200.0], 905 grad_r0 = gradients_impl.gradients(ys=[r0], xs=[x], grad_ys=[1.0]) 991 ys=[r0, r1], xs=[value], grad_ys=[[2.0, 3.0], [4.0, 5.0]]) 1017 ys=[g], xs=[values], grad_ys=[[[2.0, 3.0], [4.0, 5.0]]])
|
D | fft_test.py | 101 grad_ys=array_ops.ones_like(out))
|
/external/tensorflow/tensorflow/contrib/recurrent/python/ops/ |
D | recurrent.py | 636 grad_ys = _Flatten([dstate1]) 637 grads = gradients_impl.gradients(ys=ys, xs=xs, grad_ys=grad_ys)
|
/external/tensorflow/tensorflow/contrib/recurrent/python/kernel_tests/ |
D | recurrent_test.py | 120 ys=[xw], xs=[h0, x, w], grad_ys=[dxw])
|
/external/tensorflow/tensorflow/contrib/optimizer_v2/ |
D | optimizer_v2.py | 821 grad_ys=grad_loss,
|
/external/tensorflow/tensorflow/python/training/ |
D | optimizer.py | 499 loss, var_refs, grad_ys=grad_loss,
|
/external/tensorflow/tensorflow/python/eager/ |
D | function.py | 777 grad_ys=gradients_wrt_outputs,
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.pbtxt | 645 …argspec: "args=[\'ys\', \'xs\', \'grad_ys\', \'name\', \'gate_gradients\', \'aggregation_method\',…
|
/external/tensorflow/tensorflow/python/framework/ |
D | function_test.py | 368 dx, dy = gradients_impl.gradients([z], [x, y], grad_ys=[1.0])
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.pbtxt | 1357 …argspec: "args=[\'ys\', \'xs\', \'grad_ys\', \'name\', \'colocate_gradients_with_ops\', \'gate_gra…
|