(self)
| 100 | |
| 101 | @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled') |
| 102 | def test_relu_gpu(self): |
| 103 | self._relu_helper(gpu_dev) |
| 104 | |
| 105 | def _avg_pool_helper(self, dev): |
| 106 | x = tensor.Tensor(shape=(2, 3, 3, 3), device=dev) |
nothing calls this directly
no test coverage detected