(self)
| 100 | self.assertAllClose(out2, 5.0) |
| 101 | |
| 102 | def testCloseStack(self): |
| 103 | with self.session() as sess, self.test_scope(): |
| 104 | |
| 105 | def fn(): |
| 106 | h = gen_data_flow_ops.stack_v2(5, dtypes.float32, stack_name="foo") |
| 107 | gen_data_flow_ops.stack_close_v2(h) |
| 108 | |
| 109 | sess.run(xla.compile(fn)) |
| 110 | |
| 111 | def testPushCloseStack(self): |
| 112 | with self.session() as sess, self.test_scope(): |
nothing calls this directly
no test coverage detected