Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CompileToHloGraphAnalysisFailedError (0.98 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/test_matchers.h

    #include "tsl/platform/statusor.h"
    
    template <typename T>
    bool WasGraphAnalysisFailure(tsl::StatusOr<T> status) {
      return (status.status() ==
              tensorflow::CompileToHloGraphAnalysisFailedError());
    }
    
    /* The third party version of the Graph Analysis always returns disabled so
     * these matchers short circuit on that error. */
    MATCHER(IsOkOrFiltered,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 19 22:54:26 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/test_matchers_test.cc

    tsl::StatusOr<T> success(T t) {
      return t;
    }
    absl::StatusOr<int> success() { return kArbitraryIntResult; }
    template <typename T>
    tsl::StatusOr<T> filtered(T t) {
      return tsl::StatusOr<T>(tensorflow::CompileToHloGraphAnalysisFailedError());
    }
    absl::StatusOr<int> filtered() { return filtered(kArbitraryIntResult); }
    absl::StatusOr<int> failed() {
      return absl::StatusOr<int>(absl::InternalError("fail"));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.h

        const GraphDebugInfo& debug_info,
        llvm::MutableArrayRef<std::unique_ptr<mlir::Pass>>
            custom_legalization_passes = {});
    
    static inline Status CompileToHloGraphAnalysisFailedError() {
      return errors::Internal("disabled after graph analysis");
    }
    
    // Register a convenient pipeline for invoking TF/XLA lowering from the command
    // line.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

      if (enable_op_fallback && lower_to_xla_hlo &&
          GetMlirBridge2ndPhaseRolloutPolicy(module_op) ==
              MlirBridgeRolloutPolicy::kDisabledAfterGraphAnalysis) {
        return CompileToHloGraphAnalysisFailedError();
      }
    
      TF_RETURN_IF_ERROR(CompileMlirSetup(module_op, arg_shapes));
    
      // Convert MLIR module to XLA HLO proto contained in XlaComputation.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
Back to top