- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 327 for FuncOp (0.13 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/tensorflow/transforms/passes.h
CreateDropWhileShapeInvariantInDeviceClusterPass(); // Creates a pass that moves writes to replicate invariant resource variables // outside tf_device.replicate op. std::unique_ptr<OperationPass<func::FuncOp>> CreateHoistReplicateInvariantResourceWritesPass(); // Transforms functional control flow operations in the TensorFlow dialect to // MLIR Control Flow Graph (CFG) form. std::unique_ptr<OperationPass<func::FuncOp>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 31.8K 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_passes.cc
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/quantization/stablehlo/cc/pass_pipeline.cc
pm.addNestedPass<func::FuncOp>(mhlo::createMhloQuantLegalizeToIntPass()); pm.addNestedPass<func::FuncOp>(createCanonicalizerPass()); // Integer graph optimization relies on chlo broadcast ops for easier handling // of dynamic shapes. Therefore we lower chlo ops after optimization. pm.addNestedPass<func::FuncOp>(CreateOptimizeIntGraphPass()); pm.addNestedPass<func::FuncOp>(mhlo::createChloLegalizeToHloPass());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 8.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops_pass.cc
SymbolTableCollection table; SymbolUserMap symbol_map(table, module); // Create map from caller to set of all callee(s). llvm::DenseMap<func::FuncOp, llvm::DenseSet<func::FuncOp>> caller_callee_map; // Use worklist to populate the set of reachable functions. std::queue<func::FuncOp> function_worklist; // Iterates over all functions within the module to (1) create caller-callee
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Sep 08 20:01:13 UTC 2023 - 8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/call_graph_util.cc
} bool IsEntryFunction(func::FuncOp func) { for (const auto &attr : GetEntryFunctionAttributeNames()) { if (func->hasAttr(attr)) { return true; } } return false; } llvm::SmallVector<func::FuncOp> GetEntryFunctions(ModuleOp module) { llvm::SmallVector<func::FuncOp> entry_funcs; module.walk([&](func::FuncOp func) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 2.6K bytes - Viewed (0) -
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/tensorflow/utils/call_graph_util.h
bool IsEntryFunction(func::FuncOp func); // Get all the entry functions in an MLIR module. llvm::SmallVector<func::FuncOp> GetEntryFunctions(ModuleOp module); // Get all the functions referenced in a symber user op and save them in // `callees`. LogicalResult GetCallees(SymbolUserOpInterface op, SymbolTable &symtab, llvm::SmallVector<func::FuncOp> &callees);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Dec 16 06:18:49 UTC 2023 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/transforms.cc
// Optimizes TF graph via cleanups, merges, rewrites, constant folding, // and edge case handling where possible. pm.addNestedPass<func::FuncOp>(TF::CreateDropWhileShapeInvariantPass()); pm.addNestedPass<func::FuncOp>( tf_executor::CreateTFExecutorGraphPruningPass()); pm.addNestedPass<func::FuncOp>( tf_executor::CreateTFExecutorIslandCoarseningPass()); pm.addPass(TF::CreateTFFunctionalControlFlowToRegions());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 04:34:23 UTC 2024 - 5.8K bytes - Viewed (0)