- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for addNestedPass (0.17 sec)
-
tensorflow/compiler/mlir/lite/tf_tfl_passes.cc
pass_manager.addPass(mlir::TFL::CreatePrepareQuantizeVariablesPass()); pass_manager.addNestedPass<mlir::func::FuncOp>( mlir::TFL::CreateQuantizePass(quant_specs)); pass_manager.addNestedPass<mlir::func::FuncOp>( mlir::TFL::CreatePostQuantizePass(emit_quant_adaptor_ops)); } pass_manager.addNestedPass<mlir::func::FuncOp>( mlir::TFL::CreateOptimizeOpOrderPass());
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/quantization/tensorflow/quantize_passes.cc
pm.addPass(mlir::TF::CreateTFShapeInferencePass()); pm.addNestedPass<mlir::func::FuncOp>(mlir::createCanonicalizerPass()); if (quantization_options.op_set() == OpSet::XLA) { pm.addNestedPass<mlir::func::FuncOp>( mlir::quant::CreateReplaceCastHacksWithTFXLAOpsPass()); } pm.addNestedPass<mlir::func::FuncOp>(mlir::createCSEPass()); } pm.addNestedPass<mlir::func::FuncOp>(mlir::quant::CreateOptimizePass()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/clustering_bridge_passes.cc
pm.addNestedPass<FuncOp>( mlir::TFDevice::CreateVerifyNoOutsideCompilationMarkersPass()); pm.addNestedPass<FuncOp>(mlir::TFDevice::CreateClusterConstantSinkingPass()); pm.addPass(mlir::TF::CreateResourceDeviceInferencePass()); pm.addNestedPass<FuncOp>( tensorflow::tf2xla::internal::CreateHoistBroadcastReadPass()); pm.addNestedPass<FuncOp>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 16:09:14 UTC 2024 - 11.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/quantize_preprocess.cc
pm.addNestedPass<mlir::func::FuncOp>( mlir::mhlo::createLegalizeEinsumToDotGeneralPass()); pm.addNestedPass<mlir::func::FuncOp>( mlir::mhlo::createLegalizeDotToDotGeneralPass()); // Unfuse mhlo BatchNorm to primitive ops. pm.addNestedPass<mlir::func::FuncOp>(mlir::odml::createUnfuseBatchNormPass()); // Fuse Conv + Mul to Conv.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 12:49:45 UTC 2024 - 9.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc
pm.addPass(mlir::mhlo::createStablehloLegalizeToHloPass()); } pm.addNestedPass<mlir::func::FuncOp>(mlir::TF::CreateLowerQuantizedPass()); pm.addNestedPass<mlir::func::FuncOp>( mlir::quant::stablehlo::CreateConvertTFQuantTypesPass()); if (lower_to_xla_hlo) { for (auto& target_pass : custom_legalization_passes) { pm.addNestedPass<mlir::func::FuncOp>(std::move(target_pass)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 17:24:39 UTC 2024 - 45.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export.cc
AddCallModuleSerializationPasses(pm); if (duplicate_shape_determining_constants) { pm.addNestedPass<mlir::func::FuncOp>( mlir::quant::CreateDuplicateShapeDeterminingConstantsPass()); } pm.addPass(mlir::quant::CreateInsertMainFunctionPass()); pm.addPass(mlir::quant::CreateLiftHashTableOpsAsArgsPass()); pm.addNestedPass<mlir::func::FuncOp>( mlir::CreateFunctionalToExecutorDialectConversionPass());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 20 11:11:25 UTC 2024 - 12.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/cluster_tf.cc
namespace { void CreateReplicatedBridgePipelineV1(OpPassManager &pm) { pm.addPass(mlir::tf2xla::internal::CreateInferenceMetricsPass()); // Convert to unified compilation and replication attributes. pm.addNestedPass<FuncOp>( mlir::TF::CreateCanonicalizeCompileAndReplicateAttributesPass()); // Guarantee all functions have one use, which enables more exact shape // inference.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 22:25:18 UTC 2024 - 9.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.cc
manager.addPass(mlir::TF::CreatePrepareTpuComputationForTfExportPass()); manager.addPass(mlir::TF::CreateTFRegionControlFlowToFunctional()); manager.addPass(mlir::TF::CreateTFShapeInferencePass()); manager.addNestedPass<mlir::func::FuncOp>( mlir::CreateFunctionalToExecutorDialectConversionPass()); manager.addPass(mlir::CreateBreakUpIslandsPass()); mlir::StatusScopedDiagnosticHandler diag_handler(module.getContext());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 22:19:26 UTC 2024 - 14K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc
MlirFunction::GetFunctionRecord() { if (func_record_) { return func_record_.GetNewRef(); } PassManager pm(func_.getContext()); ::tensorflow::applyTensorflowAndCLOptions(pm); pm.addNestedPass<func::FuncOp>( CreateFunctionalToExecutorDialectConversionPass()); pm.addPass(CreateBreakUpIslandsPass()); // In case of failure, the `diag_handler` converts MLIR errors emitted to
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_to_mhlo_int_test.cc
// Run the Convert TF Quant Types, TF Quant -> MHLO Quant and MHLO Quant -> // MHLO int passes. PassManager pm(module_op->getContext()); pm.addNestedPass<func::FuncOp>(CreateConvertTFQuantTypesPass()); AddQuantizationLoweringPasses(pm); CHECK(succeeded(pm.run(module_op.get()))); // Compile the program.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 03 01:03:21 UTC 2024 - 35.8K bytes - Viewed (0)