- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for createLegalizeTFPass (0.32 sec)
-
tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf.cc
prefer_tf2xla_))) { signalPassFailure(); } } } // end namespace std::unique_ptr<OperationPass<ModuleOp>> createLegalizeTFPass( bool legalize_chlo, std::optional<StringRef> tf2xla_fallback_device_type, bool prefer_tf2xla) { return std::make_unique<LegalizeTF>( legalize_chlo, tf2xla_fallback_device_type, prefer_tf2xla); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 10.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc
std::unique_ptr<OperationPass<func::FuncOp>> CreateLegalizeTFPass( bool run_tfl_runtime_verification, bool preserve_assert_op) { return std::make_unique<LegalizeTFPass>(run_tfl_runtime_verification, preserve_assert_op); } std::unique_ptr<OperationPass<func::FuncOp>> CreateLegalizeTFPass() { return std::make_unique<LegalizeTFPass>(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 20:06:54 UTC 2024 - 45.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_tfl_passes.cc
pass_manager->addNestedPass<mlir::func::FuncOp>( mlir::TF::CreateInitTextFileToImportPass(saved_model_dir.str())); pass_manager->addNestedPass<mlir::func::FuncOp>( mlir::TFL::CreateLegalizeTFPass(pass_config.runtime_verification, pass_config.preserve_assert_op)); pass_manager->addPass(mlir::TFL::CreateAnalyzeVariablesPass());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 18:45:51 UTC 2024 - 25.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc
if (lower_to_xla_hlo) { // Lower TF quant ops and types to MHLO int. mlir::quant::stablehlo::AddQuantizationLoweringPasses(pm); pm.addPass(mlir::mhlo::createLegalizeTFPass( legalize_chlo, /*tf2xla_fallback_device_type=*/device_type, enable_op_fallback)); } // This has to run after legalization. pm.addNestedPass<mlir::func::FuncOp>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 17:24:39 UTC 2024 - 45.3K bytes - Viewed (0)