Home
last modified time | relevance | path

Searched refs:topK (Results 1 – 8 of 8) sorted by relevance

/external/guava/android/guava-tests/test/com/google/common/collect/
DTopKSelectorTest.java64 assertThat(top.topK()).isEmpty(); in testZeroK()
69 assertThat(top.topK()).isEmpty(); in testNoElementsOffered()
77 assertThat(top.topK()).containsExactly(2, 3, 5).inOrder(); in testOfferedFewerThanK()
84 assertThat(top.topK()).containsExactly(1, 2, 3, 4).inOrder(); in testOfferedKPlusOne()
92 assertThat(top.topK()).containsExactly(1, 2).inOrder(); in testOfferedThreeK()
99 assertThat(top.topK()).containsExactly("a", "B", "c").inOrder(); in testDifferentComparator()
119 assertThat(top.topK()).containsExactlyElementsIn(Collections.nCopies(k, 0)); in testWorstCase()
/external/guava/guava-tests/test/com/google/common/collect/
DTopKSelectorTest.java64 assertThat(top.topK()).isEmpty(); in testZeroK()
69 assertThat(top.topK()).isEmpty(); in testNoElementsOffered()
77 assertThat(top.topK()).containsExactly(2, 3, 5).inOrder(); in testOfferedFewerThanK()
84 assertThat(top.topK()).containsExactly(1, 2, 3, 4).inOrder(); in testOfferedKPlusOne()
92 assertThat(top.topK()).containsExactly(1, 2).inOrder(); in testOfferedThreeK()
99 assertThat(top.topK()).containsExactly("a", "B", "c").inOrder(); in testDifferentComparator()
119 assertThat(top.topK()).containsExactlyElementsIn(Collections.nCopies(k, 0)); in testWorstCase()
/external/guava/guava/src/com/google/common/collect/
DComparators.java141 TopKSelector::topK, in least()
DTopKSelector.java262 public List<T> topK() { in topK() method in TopKSelector
DOrdering.java777 return selector.topK(); in leastOf()
/external/guava/android/guava/src/com/google/common/collect/
DTopKSelector.java254 public List<T> topK() { in topK() method in TopKSelector
DOrdering.java777 return selector.topK(); in leastOf()
/external/tensorflow/tensorflow/core/common_runtime/
Dconstant_folding_test.cc641 auto topK = in TEST_F() local
643 auto send_values = ops::_Send(s.WithOpName("send_values"), topK.values, in TEST_F()
645 auto send_indices = ops::_Send(s.WithOpName("send_indices"), topK.indices, in TEST_F()