MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / testTop3Vector

Method testTop3Vector

tensorflow/python/kernel_tests/topk_op_test.py:180–182  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

178 sorted=False)
179
180 def testTop3Vector(self):
181 inputs = [3, 6, 15, 18, 6, 12, 1, 17, 3, 0, 4, 19, 1, 6]
182 self._validateTopK(inputs, 3, [19, 18, 17], [11, 3, 7])
183
184 def testTensorK(self):
185 inputs = [3, 6, 15, 18, 6, 12, 1, 17, 3, 0, 4, 19, 1, 6]

Callers

nothing calls this directly

Calls 1

_validateTopKMethod · 0.95

Tested by

no test coverage detected