Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/ops/
Dimage_grad.py64 grad0 = gen_image_ops.resize_bilinear_grad(
69 return [grad0, None]
84 grad0 = gen_image_ops.scale_and_translate_grad(
91 return [grad0, None, None, None]
106 grad0 = None
108 grad0 = gen_image_ops.resize_bicubic_grad(
113 return [grad0, None]
140 grad0 = gen_image_ops.crop_and_resize_grad_image(
145 grad0 = None
156 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.cc1849 auto grad0 = ops::SymbolicGradient(s.WithOpName("grad0"), in TEST_F() local
1852 auto dx = ops::Identity(s.WithOpName("dx"), grad0[0]); in TEST_F()
1853 auto dy = ops::Identity(s.WithOpName("dy"), grad0[1]); in TEST_F()