Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/compiler/jit/flags.h

    // be used by a server to ensure that JIT compilation is opt-in.
    void DisableXlaCompilation();
    
    // Enables XLA compilation. Can be used with `DisableXlaCompilation` to
    // enable/disable JIT compilation at different stages.
    void EnableXlaCompilation();
    
    // Returns `false` unless `DisableXlaCompilation` was called.
    bool FailOnXlaCompilation();
    
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/flags.cc

      absl::call_once(flags_init, &AllocateAndParseFlags);
      AppendMarkForCompilationPassFlagsInternal(flag_list);
    }
    
    static std::atomic<bool> xla_compilation_disabled(false);
    
    void DisableXlaCompilation() { xla_compilation_disabled = true; }
    
    void EnableXlaCompilation() { xla_compilation_disabled = false; }
    
    bool FailOnXlaCompilation() { return xla_compilation_disabled; }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 24.5K bytes
    - Viewed (0)
Back to top