Home
last modified time | relevance | path

Searched refs:np_g (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/python/eager/
Dfunction_gradients_test.py385 def np_g(x): function
389 self.assertAllEqual([1., 1.], np_g(x))
390 self.assertAllEqual([1., 1.], np_g(1.))
Dbackprop_test.py1209 def np_g(x, y): function
1214 self.assertAllEqual([1., 1.], np_g(x, x))
1216 self.assertAllEqual([1., 1.], np_g(x, x))
1218 self.assertAllEqual([[[1.]], [[1.]]], np_g(x, x))
1220 self.assertAllEqual([[[1.]], [[1.]]], np_g(x, x))
1224 self.assertAllEqual([1., 1.], np_g(v, v))