(tensor)
| 361 | branch = ops.get_default_graph().get_tensor_by_name('cond/then:0') |
| 362 | |
| 363 | def context(tensor): |
| 364 | return tensor.op._get_control_flow_context() |
| 365 | |
| 366 | self.assertIs(context(x1), context(x2)) |
| 367 | self.assertIsNot(context(x1), context(branch)) |
no test coverage detected