(self, np_features)
| 253 | 0.9]]))) |
| 254 | |
| 255 | def _testRelu6(self, np_features): |
| 256 | np_relu6 = self._npRelu6(np_features) |
| 257 | tf_relu6 = nn_ops.relu6(np_features) |
| 258 | self.assertAllClose(np_relu6, tf_relu6) |
| 259 | self.assertShapeEqual(np_relu6, tf_relu6) |
| 260 | |
| 261 | def testNumbersCPU(self): |
| 262 | for t in [np.int32, np.int64, np.float16, np.float32, np.float64]: |
no test coverage detected