Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for registry_ (0.13 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/logging_hooks_test.cc

          "tensorflow/compiler/mlir/tf2xla/internal/testdata/");
    }
    
    class LoggingHooksTest : public ::testing::Test {
     public:
      LoggingHooksTest() {
        mlir::RegisterCommonToolingDialects(registry_);
        context_.appendDialectRegistry(registry_);
        context_.loadAllAvailableDialects();
        env_ = Env::Default();
    
        test_group_name_ = "TestGroup";
        test_dir_ = testing::TmpDir();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. tensorflow/cc/framework/grad_op_registry.cc

      return grad_op_registry;
    }
    
    bool GradOpRegistry::Register(const string& op, GradFunc func) {
      CHECK(registry_.insert({op, func}).second) << "Existing gradient for " << op;
      return true;
    }
    
    Status GradOpRegistry::Lookup(const string& op, GradFunc* func) const {
      auto iter = registry_.find(op);
      if (iter == registry_.end()) {
        const string error_msg =
            "No gradient defined for op: " + op +
            ". Please see "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v1/cluster_tf_test.cc

    }
    
    class SessionClusterTensorflowDialectTest : public ::testing::Test {
     public:
      SessionClusterTensorflowDialectTest() {
        mlir::RegisterCommonToolingDialects(registry_);
        context_.appendDialectRegistry(registry_);
        context_.loadAllAvailableDialects();
      }
    
      absl::Status CreateMlirModule(std::string mlir_module_filename) {
        std::string mlir_module_path = TestDataPath() + mlir_module_filename;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v1/tf_dialect_to_executor_test.cc

    }
    
    class TensorflowDialectToExecutorTest : public ::testing::Test {
     public:
      TensorflowDialectToExecutorTest() {
        mlir::RegisterCommonToolingDialects(registry_);
        context_.appendDialectRegistry(registry_);
        context_.loadAllAvailableDialects();
      }
    
      absl::Status CreateMlirModule(std::string mlir_module_filename) {
        std::string mlir_module_path = TestDataPath() + mlir_module_filename;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor_test.cc

      }
      return count;
    }
    
    class TensorflowDialectToExecutorTest : public ::testing::Test {
     public:
      TensorflowDialectToExecutorTest() {
        mlir::RegisterCommonToolingDialects(registry_);
        context_.appendDialectRegistry(registry_);
        context_.loadAllAvailableDialects();
      }
    
      absl::Status CreateMlirModule(std::string mlir_module_filename) {
        std::string mlir_module_path = TestDataPath() + mlir_module_filename;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 23:22:50 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/api/v2/cluster_tf_test.cc

    class FunctionClusterTensorflowDialectTest : public ::testing::Test {
     public:
      FunctionClusterTensorflowDialectTest() {
        mlir::RegisterCommonToolingDialects(registry_);
        context_.appendDialectRegistry(registry_);
        context_.loadAllAvailableDialects();
      }
    
      absl::Status CreateMlirModule(std::string mlir_module_filename) {
        std::string mlir_module_path = TestDataPath() + mlir_module_filename;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops_test.cc

    class LowerClusterToRuntimeOpsTest : public ::testing::Test {
     public:
      LowerClusterToRuntimeOpsTest() {
        mlir::RegisterCommonToolingDialects(registry_);
        context_.appendDialectRegistry(registry_);
        context_.loadAllAvailableDialects();
    
        env_ = Env::Default();
        test_group_name_ = "TestGroup";
        test_dir_ = testing::TmpDir();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/tools/stablehlo_quant_opt.cc

                      mlir::tf_executor::TensorFlowExecutorDialect,
                      mlir::vhlo::VhloDialect>();
      mlir::mhlo::registerAllMhloDialects(registry);
      mlir::func::registerAllExtensions(registry);
      return failed(
          mlir::MlirOptMain(argc, argv, "StableHLO quant Pass Driver\n", registry));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 07:37:34 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_mlir.cc

             "or compilation failure from the MLIR bridge (full fallback mode).";
    
      mlir::DialectRegistry registry;
      mlir::RegisterAllTensorFlowDialects(registry);
      mlir::mhlo::registerAllMhloDialects(registry);
      mlir::stablehlo::registerAllDialects(registry);
      mlir::MLIRContext context(registry);
      mlir::OwningOpRef<mlir::ModuleOp> mlir_module;
      TF_RETURN_IF_ERROR(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/tf_stablehlo_pass.cc

      }
    
     private:
      void runOnOperation() override;
    
      void getDependentDialects(DialectRegistry &registry) const override {
        mlir::mhlo::registerAllMhloDialects(registry);
        mlir::stablehlo::registerAllDialects(registry);
        registry.insert<mlir::func::FuncDialect, mlir::arith::ArithDialect>();
        registry.insert<shape::ShapeDialect>();
      }
    
     public:
      StringRef getArgument() const final { return "tf-mhlo"; }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top