Searched refs:np_g (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/python/eager/ |
D | function_gradients_test.py | 385 def np_g(x): function 389 self.assertAllEqual([1., 1.], np_g(x)) 390 self.assertAllEqual([1., 1.], np_g(1.))
|
D | backprop_test.py | 1209 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))
|