- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for megamorphic (0.2 sec)
-
tensorflow/compiler/jit/device_compilation_profiler.h
int64_t cumulative_compile_time_us = 0; // True if we have decided that this cluster is too dynamic (i.e. its shapes // change too frequently) to profitably JIT compile. Once a cluster is // tagged megamorphic, it stays megamorphic forever. bool is_megamorphic = false; std::string DebugString() const { return absl::StrCat( "DeviceCompilationProfiler::ClusterCompileStats {compile_count=",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/jit/device_compilation_profiler_test.cc
// times) so that the function is marked megamorphic. for (int i = 0; i < kCompileThreshold + 1; ++i) { EXPECT_TRUE(profiler->RegisterCompilation(function, 1, false).ok()); } profiler->RegisterExecution(function); // Shouldn't compile cluster since it has gone megamorphic. EXPECT_FALSE( profiler->ShouldCompileCluster(function, DeviceCompileMode::kAsync, 0));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Dec 22 21:06:33 UTC 2022 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/jit/device_compilation_profiler.cc
// The is_megamorphic bit is "sticky". We assume clusters that have been // observed to be megamorphic once stay megamorphic forever. if (!stats->is_megamorphic && ShouldBeMegamorphic(stats->compile_count, stats->execution_count)) { VLOG(1) << "Marking " << function.name() << " as megamorphic, compile_count=" << stats->compile_count << " execution_count=" << stats->execution_count;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 8.5K bytes - Viewed (0)