(x)
| 60 | 2**31 - 1, 2**31, 2**32 - 1, 2**32, -2**32 + 1, -2**32, |
| 61 | -2**63 + 1, 2**63 - 1] |
| 62 | def count_bits(x): |
| 63 | return sum(bin(z).count("1") for z in six.iterbytes(x.tobytes())) |
| 64 | for dtype in dtype_list: |
| 65 | with self.cached_session(use_gpu=True) as sess: |
| 66 | print("PopulationCount test: ", dtype) |