Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CompileToHloGraphAnalysisFailedError (0.34 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)
Back to top