- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 445 for FuncOp (0.26 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/tensorflow/utils/visitor.cc
namespace mlir { namespace TF { WalkResult WalkReachableFunctions( func::FuncOp func, llvm::function_ref<WalkResult(func::FuncOp)> callback, SymbolTableCollection* symbol_table) { llvm::SmallDenseSet<Operation*> visited; llvm::SmallVector<func::FuncOp> stack; stack.push_back(func); while (!stack.empty()) { func::FuncOp f = stack.back(); stack.pop_back(); if (!visited.insert(f).second) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 19 03:46:51 UTC 2023 - 4.1K 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/lite/utils/nms_utils.h
public: explicit ConvertNMSPaddedFunc(func::FuncOp func) : func_(func) {} void RewriteFunc(); LogicalResult VerifySignature(); private: func::FuncOp func_; }; // Abstracts the conversion of the SSD post-processing composite function to // TFLite. class ConvertSSDPostProcessFunc { public: explicit ConvertSSDPostProcessFunc(func::FuncOp func, mlir::TF::FuncAttr attr)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 19 00:13:50 UTC 2022 - 2.8K 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)