(self)
| 246 | np.maximum(np_features, np.zeros(np_features.shape)), sixes) |
| 247 | |
| 248 | def testNpRelu6(self): |
| 249 | self.assertAllClose( |
| 250 | np.array([[0.0, 0.7, 0.0, 0.3, 6.0], [0.1, 0.0, 6.0, 0.0, 0.9]]), |
| 251 | self._npRelu6( |
| 252 | np.array([[-0.9, 0.7, -0.5, 0.3, 6.0], [0.1, -0.3, 6.5, -0.7, |
| 253 | 0.9]]))) |
| 254 | |
| 255 | def _testRelu6(self, np_features): |
| 256 | np_relu6 = self._npRelu6(np_features) |
nothing calls this directly
no test coverage detected