- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 80 for PassRegistration (0.31 sec)
-
tensorflow/compiler/mlir/mlir_graph_optimization_pass.h
class MlirOptimizationPassRegistry { public: struct PassRegistration { int priority; std::unique_ptr<MlirOptimizationPass> pass; }; struct PriorityComparator { bool operator()(const PassRegistration& x, const PassRegistration& y) const { return x.priority < y.priority; } }; using Passes = std::set<PassRegistration, PriorityComparator>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 03 22:53:34 UTC 2023 - 8.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/analysis/test_cost_analysis_pass.cc
auto func_op = getOperation(); for (auto& op : func_op.front()) { op.emitRemark() << "Cost: " << cost_analysis.GetCost(&op); } } }; static mlir::PassRegistration<TestCostAnalysis> pass; } // namespace tfrt_compiler
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 01 23:46:29 UTC 2023 - 1.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/post_quantize.cc
class PostQuantizePass : public PassWrapper<PostQuantizePass, OperationPass<func::FuncOp>> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PostQuantizePass) // Constructor used by the PassRegistration. This will remove the adaptor ops. explicit PostQuantizePass() = default; StringRef getArgument() const final { // This is the argument used to refer to the pass in
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 5.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/propagate_quantize_type.cc
class PropagateQuantizeType : public PassWrapper<PropagateQuantizeType, OperationPass<ModuleOp>> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PropagateQuantizeType) // Constructor used by the PassRegistration. This will remove the adaptor ops. explicit PropagateQuantizeType() = default; StringRef getArgument() const final { // This is the argument used to refer to the pass in
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions_drq.cc
OperationPass<ModuleOp>> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID( LiftQuantizableSpotsAsFunctionsDRQPass) // Constructor used by the PassRegistration. This is only used by test. explicit LiftQuantizableSpotsAsFunctionsDRQPass() = default; // Constructor used by manually creating the pass. explicit LiftQuantizableSpotsAsFunctionsDRQPass(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/rename_entrypoint_to_main.cc
candidate_funcs[0].setName(builder.getStringAttr("main")); } }; std::unique_ptr<Pass> CreateRenameEntrypointToMainPass() { return std::make_unique<RenameEntrypointToMainPass>(); } static PassRegistration<RenameEntrypointToMainPass> pass; } // namespace odml
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/optimize.cc
signalPassFailure(); } } } // namespace std::unique_ptr<OperationPass<func::FuncOp>> CreateOptimizePass() { return std::make_unique<OptimizePass>(); } static PassRegistration<OptimizePass> pass;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 05:52:39 UTC 2024 - 2.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_fake_quant_to_qdq.cc
registry.insert<TF::TensorFlowDialect>(); registry.insert<quant::QuantizationDialect>(); registry.insert<quantfork::QuantizationForkDialect>(); } void runOnOperation() override; }; static PassRegistration<ConvertFakeQuantToQdqPass> pass; void ConvertFakeQuantToQdqPass::runOnOperation() { MLIRContext* ctx = &getContext(); func::FuncOp func = getOperation(); if (failed(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 15 00:56:15 UTC 2023 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_pass.cc
// Creates an instance of the pass. std::unique_ptr<OperationPass<ModuleOp>> CreateCompositeLoweringPass() { return std::make_unique<CompositeLoweringPass>(); } // Registers the pass implementation static PassRegistration<CompositeLoweringPass> pass; } // namespace odml
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 23:16:05 UTC 2024 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/drop_savedmodel_semantics.cc
module->removeAttr("tf_saved_model.semantics"); } }; std::unique_ptr<Pass> CreateDropSavedModelSemanticsPass() { return std::make_unique<DropSavedModelSemanticsPass>(); } static PassRegistration<DropSavedModelSemanticsPass> pass; } // namespace odml
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 13 23:39:10 UTC 2022 - 3K bytes - Viewed (0)