Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/profiler/utils/
Dkernel_stats_utils.cc38 const int kMaxNumOfKernels = 1000; variable
233 if (kernel_stats_db->reports_size() > kMaxNumOfKernels) { in SortAndKeepTopKDurationKernelReportsInDb()
236 kernel_stats_db->mutable_reports()->begin() + kMaxNumOfKernels, in SortAndKeepTopKDurationKernelReportsInDb()
239 kernel_stats_db->mutable_reports()->begin() + kMaxNumOfKernels, in SortAndKeepTopKDurationKernelReportsInDb()
267 if (kernels_to_sort.size() > kMaxNumOfKernels) { in CopyTopKDurationKernelReportsToDb()
269 kernels_to_sort.begin() + kMaxNumOfKernels, comp); in CopyTopKDurationKernelReportsToDb()
275 std::min(kMaxNumOfKernels, static_cast<int>(kernels_to_sort.size())); in CopyTopKDurationKernelReportsToDb()