Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for kCompileThreshold (0.12 sec)

  1. tensorflow/compiler/jit/device_compilation_profiler.cc

    bool ShouldBeMegamorphic(int64_t compile_count, int64_t execution_count) {
      const int64_t kCompileThreshold = 10;
      const int64_t kMinExecutionsPerCompile = 50;
    
      // This heuristic is trying to capture the following property: have we sunk a
      // certain minimum amount of compile time into the cluster that didn't quite
      // "pay off"?
      return compile_count > kCompileThreshold &&
             execution_count < kMinExecutionsPerCompile * compile_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)
Back to top