(self, x, axis, exclusive, reverse)
| 77 | return set(self.int_types).intersection([np.int32, np.int64]) |
| 78 | |
| 79 | def _compare(self, x, axis, exclusive, reverse): |
| 80 | np_out = handle_options(np.cumsum, x, axis, exclusive, reverse) |
| 81 | with self.session(), self.test_scope(): |
| 82 | p = array_ops.placeholder(x.dtype) |
| 83 | tf_out = math_ops.cumsum(p, axis, exclusive, reverse).eval( |
| 84 | feed_dict={p: x}) |
| 85 | |
| 86 | self.assertAllClose(np_out, tf_out) |
| 87 | |
| 88 | def _compareAll(self, x, axis): |
| 89 | for exclusive in [True, False]: |
no test coverage detected