(self)
| 166 | self._validateTopK(inputs, k, values, indices) |
| 167 | |
| 168 | def testTopAll(self): |
| 169 | inputs = [[0.1, 0.3, 0.2, 0.4], [0.1, 0.3, 0.3, 0.2]] |
| 170 | self._validateTopK(inputs, 4, [[0.4, 0.3, 0.2, 0.1], [0.3, 0.3, 0.2, 0.1]], |
| 171 | [[3, 1, 2, 0], [1, 2, 3, 0]]) |
| 172 | |
| 173 | def testTop3Unsorted(self): |
| 174 | inputs = [[0.1, 0.3, 0.2, 0.4], [0.1, 0.4, 0.3, 0.2]] |
nothing calls this directly
no test coverage detected