Home
last modified time | relevance | path

Searched refs:grad0 (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/python/ops/
Dimage_grad.py63 grad0 = gen_image_ops.resize_bilinear_grad(
68 return [grad0, None]
83 grad0 = gen_image_ops.scale_and_translate_grad(
90 return [grad0, None, None, None]
105 grad0 = None
107 grad0 = gen_image_ops.resize_bicubic_grad(
112 return [grad0, None]
139 grad0 = gen_image_ops.crop_and_resize_grad_image(
144 grad0 = None
155 return [grad0, grad1, None, None]
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/
DGraphTest.java209 Output<?>[] grad0 = g.addGradients(y1, toArray(y0)); in addGradientsWithInitialValuesToGraph() local
210 assertNotNull(grad0); in addGradientsWithInitialValuesToGraph()
211 assertEquals(1, grad0.length); in addGradientsWithInitialValuesToGraph()
212 assertEquals(DataType.FLOAT, grad0[0].dataType()); in addGradientsWithInitialValuesToGraph()
214 Output<?>[] grad1 = g.addGradients(null, toArray(y0), toArray(x), toArray(grad0[0])); in addGradientsWithInitialValuesToGraph()
238 Output<?>[] grad0 = g.addGradients(null, toArray(y0), toArray(x), null); in validateGradientsNames() local
239 assertTrue(grad0[0].op().name().startsWith("gradients/")); in validateGradientsNames()
/external/dng_sdk/source/
Ddng_bad_pixels.cpp823 uint32 grad0; in FixIsolatedPixel() local
864 grad0 = Abs_int32 (g02 - g42) + in FixIsolatedPixel()
944 grad0 = Abs_int32 (b02 - b42) + in FixIsolatedPixel()
988 uint32 minGrad = Min_uint32 (grad0, grad1); in FixIsolatedPixel()
998 if (grad0 <= limit) in FixIsolatedPixel()
1155 uint32 grad0; in FixSingleColumn() local
1245 grad0 = Abs_int32 (g13 - g75) + in FixSingleColumn()
1389 grad0 = Abs_int32 (b02 - b86) + in FixSingleColumn()
1455 uint32 minGrad = Min_uint32 (grad0, grad1); in FixSingleColumn()
1468 if (grad0 <= limit) in FixSingleColumn()
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/op/core/
DGradientsTest.java124 Gradients grad0 = Gradients.create(scope, y, Arrays.asList(x)); in validateGradientsNames() local
125 assertTrue(grad0.dy(0).op().name().startsWith("sub/Gradients/")); in validateGradientsNames()
/external/tensorflow/tensorflow/core/common_runtime/
Dfunction_test.cc1462 auto grad0 = ops::SymbolicGradient(s.WithOpName("grad0"), in TEST_F() local
1465 auto dx = ops::Identity(s.WithOpName("dx"), grad0[0]); in TEST_F()
1466 auto dy = ops::Identity(s.WithOpName("dy"), grad0[1]); in TEST_F()