(self, x, axis, exclusive, reverse)
| 155 | return set(self.int_types).intersection([np.int32, np.int64]) |
| 156 | |
| 157 | def _compare(self, x, axis, exclusive, reverse): |
| 158 | np_out = handle_options(np.cumprod, x, axis, exclusive, reverse) |
| 159 | with self.session(), self.test_scope(): |
| 160 | p = array_ops.placeholder(x.dtype) |
| 161 | prod = math_ops.cumprod(p, axis, exclusive, reverse) |
| 162 | tf_out = prod.eval(feed_dict={p: x}) |
| 163 | |
| 164 | self.assertAllClose(np_out, tf_out) |
| 165 | |
| 166 | def _compareAll(self, x, axis): |
| 167 | for exclusive in [True, False]: |
no test coverage detected