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

Method testTop1AllNan

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

Source from the content-addressed store, hash-verified

109 self._validateTopK(inputs, k, values, indices)
110
111 def testTop1AllNan(self):
112 inputs = [[np.NaN, np.NaN], [np.NaN, np.NaN]]
113 self._validateTopK(inputs, 1, [[np.NaN], [np.NaN]], [[0], [0]])
114
115 def _testLargeSort(self, dtype):
116 b = 10

Callers

nothing calls this directly

Calls 1

_validateTopKMethod · 0.95

Tested by

no test coverage detected