Searched refs:TopN (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/lite/experimental/kernels/ |
D | top_n.h | 64 class TopN { 94 explicit TopN(size_t limit) : TopN(limit, Cmp()) {} in TopN() function 95 TopN(size_t limit, const Cmp &cmp) : limit_(limit), cmp_(cmp) {} in TopN() function 212 void TopN<T, Cmp>::PushInternal(U &&v, T *dropped) { // NOLINT(build/c++11) in PushInternal() 251 const T &TopN<T, Cmp>::peek_bottom() { in peek_bottom() 273 std::vector<T> *TopN<T, Cmp>::Extract() { in Extract() 286 std::vector<T> *TopN<T, Cmp>::ExtractUnsorted() { in ExtractUnsorted() 297 std::vector<T> *TopN<T, Cmp>::ExtractNondestructive() const { in ExtractNondestructive() 304 void TopN<T, Cmp>::ExtractNondestructive(std::vector<T> *output) const { in ExtractNondestructive() 316 std::vector<T> *TopN<T, Cmp>::ExtractUnsortedNondestructive() const { in ExtractUnsortedNondestructive() [all …]
|
D | ctc_beam_search.h | 148 gtl::TopN<BeamEntry*, CTCBeamComparer> leaves_; 411 gtl::TopN<BeamEntry*, CTCBeamComparer> top_branches(n); in TopPaths()
|
/external/tensorflow/tensorflow/core/lib/gtl/ |
D | top_n.h | 62 class TopN { 92 explicit TopN(size_t limit) : TopN(limit, Cmp()) {} in TopN() function 93 TopN(size_t limit, const Cmp &cmp) : limit_(limit), cmp_(cmp) {} in TopN() function 210 void TopN<T, Cmp>::PushInternal(U &&v, T *dropped) { // NOLINT(build/c++11) in PushInternal() 249 const T &TopN<T, Cmp>::peek_bottom() { in peek_bottom() 271 std::vector<T> *TopN<T, Cmp>::Extract() { in Extract() 284 std::vector<T> *TopN<T, Cmp>::ExtractUnsorted() { in ExtractUnsorted() 295 std::vector<T> *TopN<T, Cmp>::ExtractNondestructive() const { in ExtractNondestructive() 302 void TopN<T, Cmp>::ExtractNondestructive(std::vector<T> *output) const { in ExtractNondestructive() 314 std::vector<T> *TopN<T, Cmp>::ExtractUnsortedNondestructive() const { in ExtractUnsortedNondestructive() [all …]
|
D | top_n_test.cc | 32 using tensorflow::gtl::TopN; 52 TopN<int, Cmp> top(limit, cmp); in TestIntTopNHelper() 111 TopN<string> top(3); in TEST() 127 TopN<string> top2(top); in TEST() 128 TopN<string> top3(5); in TEST() 154 TopN<string> top4(3); in TEST() 173 TopN<string *> topn(3); in TEST() 199 TopN<StrPtr, PointeeGreater> topn(3); in TEST() 214 TopN<int> top4(4); in TEST() 222 TopN<int> top3(3); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-profdata/ |
D | llvm-profdata.cpp | 572 uint32_t TopN, bool ShowIndirectCallTargets, in showInstrProfile() argument 620 if (TopN) { in showInstrProfile() 625 if (HottestFuncs.size() == TopN) { in showInstrProfile() 693 if (TopN) { in showInstrProfile() 699 OS << "Top " << TopN in showInstrProfile()
|
/external/tensorflow/tensorflow/core/util/ctc/ |
D | ctc_beam_search.h | 150 gtl::TopN<BeamEntry*, CTCBeamComparer> leaves_; 413 gtl::TopN<BeamEntry*, CTCBeamComparer> top_branches(n); in TopPaths()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | topk_op.cc | 181 gtl::TopN<int32, decltype(stable_comp)> filter(k, stable_comp); in Compute()
|
D | clustering_ops.cc | 472 gtl::TopN<Center, std::less<Center>> selector(k); in FindKNearestCentersOneBlock()
|