- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for createLegalizeTFPass (0.28 sec)
-
tensorflow/compiler/mlir/lite/transforms/passes.h
// is true, the TF::AssertOp will not be removed. std::unique_ptr<OperationPass<func::FuncOp>> CreateLegalizeTFPass( bool run_tfl_runtime_verification, bool preserve_assert_op = false); std::unique_ptr<OperationPass<func::FuncOp>> CreateLegalizeTFPass(); // Creates an instance of the TensorFlow Lite dialect Optimize pass. std::unique_ptr<OperationPass<func::FuncOp>> CreateOptimizePass(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 07 21:29:34 UTC 2024 - 10.9K bytes - Viewed (0) -
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/lite/transforms/passes.td
} def LegalizeTFPass : Pass<"tfl-legalize-tf", "mlir::func::FuncOp"> { let summary = "Legalize from TensorFlow to TensorFlow Lite dialect."; let constructor = "CreateLegalizeTFPass()"; let dependentDialects = ["TFL::TensorFlowLiteDialect" , "quant::QuantizationDialect", "quantfork::QuantizationForkDialect" ]; let options = [
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 20:30:06 UTC 2024 - 22.6K 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)