(self)
| 1963 | |
| 1964 | @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled') |
| 1965 | def test_onehot_gpu(self): |
| 1966 | self._onehot_helper(gpu_dev) |
| 1967 | |
| 1968 | def _inference_helper(self, dev): |
| 1969 | x = tensor.Tensor(shape=(2, 3, 3, 3), device=dev) |
nothing calls this directly
no test coverage detected