Searched refs:topK (Results 1 – 8 of 8) sorted by relevance
/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | TopKSelectorTest.java | 64 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/ |
D | TopKSelectorTest.java | 64 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/ |
D | Comparators.java | 141 TopKSelector::topK, in least()
|
D | TopKSelector.java | 262 public List<T> topK() { in topK() method in TopKSelector
|
D | Ordering.java | 777 return selector.topK(); in leastOf()
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | TopKSelector.java | 254 public List<T> topK() { in topK() method in TopKSelector
|
D | Ordering.java | 777 return selector.topK(); in leastOf()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | constant_folding_test.cc | 641 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()
|