Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_SetXlaAutoJitMode (0.19 sec)

  1. tensorflow/c/c_api_experimental.h

    TF_CAPI_EXPORT unsigned char TF_SetTfXlaCpuGlobalJit(unsigned char enable);
    
    // Sets XLA's auto jit mode according to the specified string, which is parsed
    // as if passed in XLA_FLAGS. This has global effect.
    TF_CAPI_EXPORT void TF_SetXlaAutoJitMode(const char* mode);
    
    // Returns whether the single GPU or general XLA auto jit optimizations are
    // enabled through MarkForCompilationPassFlags.
    TF_CAPI_EXPORT unsigned char TF_GetXlaAutoJitEnabled();
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental.cc

      bool original = flags->tf_xla_cpu_global_jit;
      flags->tf_xla_cpu_global_jit = static_cast<bool>(enable);
      return static_cast<unsigned char>(original);
    }
    
    void TF_SetXlaAutoJitMode(const char* mode) {
      tensorflow::SetXlaAutoJitFlagFromFlagString(mode);
    }
    
    unsigned char TF_GetXlaAutoJitEnabled() {
      tensorflow::XlaAutoJitFlag flag =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
Back to top