(self)
| 374 | constant_op.constant(t.min, dtype=t).numpy(), t.min) |
| 375 | |
| 376 | def test_numpyIsView(self): |
| 377 | t = constant_op.constant([0.0]) |
| 378 | t._numpy()[0] = 42.0 |
| 379 | self.assertAllClose(t, constant_op.constant([42.0])) |
| 380 | |
| 381 | def test_numpyFailsForResource(self): |
| 382 | v = variables.Variable(42) |
nothing calls this directly
no test coverage detected