Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CreateLegalizeTFCollectivePass (0.56 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf_passes.td

      ];
    }
    
    def LegalizeTFCollective : Pass<"xla-legalize-tf-collective", "ModuleOp"> {
      let summary = "Legalize TF/XLA collective ops (TensorFlow dialect) to the HLO dialect";
    
      let constructor = "mlir::mhlo::CreateLegalizeTFCollectivePass()";
      let dependentDialects = ["mhlo::MhloDialect", "sparse_tensor::SparseTensorDialect"];
    }
    
    def VerifyTFXLALegalization : Pass<"tfxla-verify-legalization", "mlir::func::FuncOp"> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 17:44:14 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/passes.h

    // ops.
    std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeTFCommunicationPass();
    
    // Legalizes TF/XLA collective ops (TF dialect) to HLO dialect collective
    // ops.
    std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeTFCollectivePass();
    
    // Verifies that the TF/XLA ops have all been lowered to MHLO.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateVerifyTFXLALegalizationPass(
        bool legalize_chlo = true);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc

      if (failed(applyPatternsAndFoldGreedily(module, std::move(patterns)))) {
        signalPassFailure();
      }
    }
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeTFCollectivePass() {
      return std::make_unique<LegalizeTFCollective>();
    }
    
    }  // namespace mhlo
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

      if (lower_to_xla_hlo) {
        for (auto& target_pass : custom_legalization_passes) {
          pm.addNestedPass<mlir::func::FuncOp>(std::move(target_pass));
        }
        pm.addPass(mlir::mhlo::CreateLegalizeTFCollectivePass());
      }
    
      // These passes are grouped together as they have to run in specific order.
      // Passes before this can run relatively in any order, as long as they happen
      // before legalization.
    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