(self)
| 1377 | |
| 1378 | @test_util.run_in_graph_and_eager_modes |
| 1379 | def testWatchBadThing(self): |
| 1380 | g = backprop.GradientTape() |
| 1381 | with self.assertRaisesRegexp(ValueError, 'ndarray'): |
| 1382 | g.watch(np.array(1.)) |
| 1383 | |
| 1384 | |
| 1385 | class JacobianTest(test.TestCase): |
nothing calls this directly
no test coverage detected