(self, np_features)
| 240 | class Relu6Test(test.TestCase): |
| 241 | |
| 242 | def _npRelu6(self, np_features): |
| 243 | sixes = np.copy(np_features) |
| 244 | sixes.fill(6.0) |
| 245 | return np.minimum( |
| 246 | np.maximum(np_features, np.zeros(np_features.shape)), sixes) |
| 247 | |
| 248 | def testNpRelu6(self): |
| 249 | self.assertAllClose( |
no test coverage detected