(self)
| 2805 | self.assertFalse(ops.has_default_graph()) |
| 2806 | |
| 2807 | def testPreventFeeding(self): |
| 2808 | g = ops.Graph() |
| 2809 | a = constant_op.constant(2.0) |
| 2810 | self.assertTrue(g.is_feedable(a)) |
| 2811 | g.prevent_feeding(a) |
| 2812 | self.assertFalse(g.is_feedable(a)) |
| 2813 | |
| 2814 | @test_util.run_deprecated_v1 |
| 2815 | def testPreventFetching(self): |
nothing calls this directly
no test coverage detected