/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/ |
D | GraphTest.java | 214 Output<?>[] grad1 = g.addGradients(null, toArray(y0), toArray(x), toArray(grad0[0])); in addGradientsWithInitialValuesToGraph() local 215 assertNotNull(grad1); in addGradientsWithInitialValuesToGraph() 216 assertEquals(1, grad1.length); in addGradientsWithInitialValuesToGraph() 217 assertEquals(DataType.FLOAT, grad1[0].dataType()); in addGradientsWithInitialValuesToGraph() 222 .fetch(grad1[0]) in addGradientsWithInitialValuesToGraph() 241 Output<?>[] grad1 = g.addGradients(null, toArray(y0), toArray(x), null); in validateGradientsNames() local 242 assertTrue(grad1[0].op().name().startsWith("gradients_1/")); in validateGradientsNames()
|
/external/dng_sdk/source/ |
D | dng_bad_pixels.cpp | 824 uint32 grad1; in FixIsolatedPixel() local 874 grad1 = Abs_int32 (g11 - g33) + in FixIsolatedPixel() 955 grad1 = Abs_int32 (b00 - b44) + in FixIsolatedPixel() 988 uint32 minGrad = Min_uint32 (grad0, grad1); in FixIsolatedPixel() 1004 if (grad1 <= limit) in FixIsolatedPixel() 1156 uint32 grad1; in FixSingleColumn() local 1255 grad1 = Abs_int32 (g33 - g55) + in FixSingleColumn() 1398 grad1 = Abs_int32 (b22 - b66) + in FixSingleColumn() 1455 uint32 minGrad = Min_uint32 (grad0, grad1); in FixSingleColumn() 1474 if (grad1 <= limit) in FixSingleColumn()
|
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/op/core/ |
D | GradientsTest.java | 127 Gradients grad1 = Gradients.create(scope.withName("MyGradients"), y, Arrays.asList(x)); in validateGradientsNames() local 128 assertTrue(grad1.dy(0).op().name().startsWith("sub/MyGradients/")); in validateGradientsNames()
|
/external/tensorflow/tensorflow/python/ops/ |
D | gradient_checker_v2.py | 341 def max_error(grad1, grad2): argument 355 for j_t, j_n in zip(grad1, grad2):
|
D | image_grad.py | 153 grad1 = gen_image_ops.crop_and_resize_grad_boxes( 156 return [grad0, grad1, None, None]
|
D | gradients_test.py | 383 grad1 = _Gradients([graph_with_stops["d"]], 389 cases.append(dict(grad1=grad1, grad2=grad2,
|
/external/mesa3d/src/mesa/program/ |
D | prog_noise.c | 149 grad1(int hash, float x) in grad1() function 225 n0 = t0 * t0 * grad1(perm[i0 & 0xff], x0); in _mesa_noise1() 229 n1 = t1 * t1 * grad1(perm[i1 & 0xff], x1); in _mesa_noise1()
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | xla_compiler_test.cc | 804 auto grad1 = ops::TensorArrayGrad(scope, arg, flow, "grad1"); in TEST_F() local 805 auto grad2 = ops::TensorArrayGrad(scope, arg, grad1.flow_out, "grad2"); in TEST_F() 807 auto write = ops::TensorArrayWrite(scope, grad1.grad_handle, index, index, in TEST_F() 866 auto grad1 = ops::TensorArrayGrad(scope, arg, flow, "grad1"); in TEST_F() local 868 auto read = ops::TensorArrayRead(scope, arg, index, grad1.flow_out, DT_INT32); in TEST_F() 898 auto grad1 = ops::TensorArrayGrad(scope, arg, flow, "grad2"); in TEST_F() local 900 auto read = ops::TensorArrayRead(scope, arg, index, grad1.flow_out, DT_INT32); in TEST_F()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/ |
D | tensor_array_ops_decomposition.mlir | 207 …%grad1:2 = "tf.TensorArrayGradV3"(%ta#0, %ta#1) {source = "a"} : (tensor<!tf.resource>, tensor<f32… 218 …%write1 = "tf.TensorArrayWriteV3"(%grad1#0, %index, %value, %grad1#1) : (tensor<!tf.resource>, ten…
|
/external/tensorflow/tensorflow/python/eager/ |
D | backprop_test.py | 1367 grad1 = get_grad() 1370 self.assertAllEqual(grad1, grad2)
|
/external/tensorflow/tensorflow/python/ops/parallel_for/ |
D | control_flow_ops_test.py | 428 grad1 = array_ops.gather(grad, i) 432 grad1,
|