(self)
| 1125 | |
| 1126 | @unittest.skipIf(not singa_api.USE_CUDA, 'CUDA is not enabled') |
| 1127 | def test_softplus_gpu(self): |
| 1128 | self._softplus_helper(gpu_dev) |
| 1129 | |
| 1130 | def _softsign_helper(self, dev): |
| 1131 | x = np.array([-0.9, -0.3, -0.1, 0.1, 0.5, |
nothing calls this directly
no test coverage detected