(self)
| 2451 | |
| 2452 | @test_util.run_deprecated_v1 |
| 2453 | def testVariable(self): |
| 2454 | g0 = ops.Graph() |
| 2455 | with g0.as_default(): |
| 2456 | variable = variables.Variable([1.0]) |
| 2457 | a = g0.create_op("A", [], [dtypes.float32]) |
| 2458 | b = g0.create_op("B", [], [dtypes.float32]) |
| 2459 | self._testGraphElements([a, variable, b]) |
| 2460 | |
| 2461 | |
| 2462 | class InitScopeTest(test_util.TensorFlowTestCase): |
nothing calls this directly
no test coverage detected