- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for CreateVerifyTFXLALegalizationPass (0.49 sec)
-
tensorflow/compiler/mlir/tf2xla/transforms/passes.h
// 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); // Transforms TFXLA Device specific ops into device independent ops. std::unique_ptr<OperationPass<func::FuncOp>> CreateTFXLADeviceSpecificTransformsPass(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf_passes.td
let options = [ Option<"legalize_chlo_", "legalize-chlo", "bool", /*default=*/"true", "Legalizes intermediate chlo ops to hlo"> ]; let constructor = "mlir::mhlo::CreateVerifyTFXLALegalizationPass()"; } def TFXLADeviceSpecificTransforms : Pass<"tfxla-device-specific-transforms", "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) -
tensorflow/compiler/mlir/tf2xla/transforms/verify_tfxla_legalization.cc
} return WalkResult::advance(); }); if (has_invalid_ops) signalPassFailure(); } } // namespace std::unique_ptr<mlir::OperationPass<mlir::func::FuncOp>> CreateVerifyTFXLALegalizationPass(bool legalize_chlo) { return std::make_unique<VerifyTFXLALegalization>(legalize_chlo); } } // namespace mhlo
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/verify_tfxla_legalization_test.cc
GetMlirModuleFromString(module_string, &context_)); pm_ = std::make_unique<mlir::PassManager>(&context_); pm_->addNestedPass<mlir::func::FuncOp>( mlir::mhlo::CreateVerifyTFXLALegalizationPass(/*legalize_chlo=*/false)); } mlir::LogicalResult Run() { return pm_->run(module_.get()); } private: MLIRContext context_; OwningOpRef<ModuleOp> module_; std::unique_ptr<mlir::PassManager> pm_;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 7.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc
// Everything should be MHLO after this. if (!allow_partial_conversion) { pm.addNestedPass<mlir::func::FuncOp>( mlir::mhlo::CreateVerifyTFXLALegalizationPass(legalize_chlo)); } } if (CanInlineFunctionsPostLegalization(device_type)) { pm.addPass(mlir::createInlinerPass()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 17:24:39 UTC 2024 - 45.3K bytes - Viewed (0)