(self, graph_elements)
| 2421 | pass |
| 2422 | |
| 2423 | def _testGraphElements(self, graph_elements): |
| 2424 | scope_name = "my_scope" |
| 2425 | with ops.name_scope(scope_name, values=graph_elements) as scope: |
| 2426 | self.assertEqual("%s/" % scope_name, scope) |
| 2427 | self.assertEqual(graph_elements[0].graph, ops.get_default_graph()) |
| 2428 | g1 = ops.Graph() |
| 2429 | a = g1.create_op("A", [], [dtypes.float32]) |
| 2430 | with self.assertRaises(ValueError): |
| 2431 | with ops.name_scope(scope_name, values=graph_elements + [a]): |
| 2432 | pass |
| 2433 | |
| 2434 | @test_util.run_deprecated_v1 |
| 2435 | def testTensor(self): |
no test coverage detected