- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 106 for signalPassFailure (0.28 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/passes/merge_fusion_with_dequantize.cc
RewritePatternSet patterns(ctx); patterns.add<MergeFusionWithUniformDequantizePattern>(ctx); if (failed(applyPatternsAndFoldGreedily(module_op, std::move(patterns)))) { signalPassFailure(); } } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/tf_stablehlo_pass.cc
target.addLegalOp<TF::StatefulPartitionedCallOp>(); } FrozenRewritePatternSet frozen_patterns(std::move(patterns)); if (failed(applyPartialConversion(func, target, frozen_patterns))) { return signalPassFailure(); } } struct TFToStablehloOptions : public PassPipelineOptions<TFToStablehloOptions> { Option<bool> skip_quantization_ops{*this, "skip-quantization-ops",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 7.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_custom_aggregation_op_to_quant_stats.cc
if (failed(applyPatternsAndFoldGreedily(func, std::move(patterns)))) { func.emitError() << "quant-convert-tf-custom-aggregator-op-to-quant-stats failed."; signalPassFailure(); } } } // namespace std::unique_ptr<OperationPass<func::FuncOp>> CreateConvertCustomAggregationOpToQuantStatsPass() { return std::make_unique<ConvertCustomAggregationOpToQuantStatsPass>();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_initializer_function_ops_to_main.cc
MLIRContext* ctx = module_op.getContext(); func::FuncOp main_func_op = FindMainFuncOp(module_op); if (!main_func_op) { module_op.emitError("Main function op not found."); return signalPassFailure(); } GraphOp main_graph_op = GetGraphOpFromFuncOp(main_func_op); if (!main_graph_op) return; SessionInitializerOp session_init_op = GetSessionInitializerOp(module_op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun May 12 12:54:52 UTC 2024 - 15.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/tflite_legalize_hlo.cc
if (failed(applyPartialConversion(getOperation(), target, std::move(patterns)))) { getOperation().emitError("mhlo to TFLite legalization failed."); signalPassFailure(); } } } // namespace void PopulateLegalizeHloToTFLitePatterns(RewritePatternSet* patterns, MLIRContext* context) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/verify_tfxla_legalization.cc
has_invalid_ops = true; IncrementCounterFor(mlir_failed_legalization_op_count, op); } return WalkResult::advance(); }); if (has_invalid_ops) signalPassFailure(); } } // namespace std::unique_ptr<mlir::OperationPass<mlir::func::FuncOp>> CreateVerifyTFXLALegalizationPass(bool legalize_chlo) { return std::make_unique<VerifyTFXLALegalization>(legalize_chlo);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/ir/ConvertSimQuant.cc
auto *ctx = func.getContext(); patterns.add<ConstFakeQuantRewrite, ConstFakeQuantPerAxisRewrite>( ctx, &hadFailure); (void)applyPatternsAndFoldGreedily(func, std::move(patterns)); if (hadFailure) signalPassFailure(); } std::unique_ptr<OperationPass<func::FuncOp>> createConvertSimulatedQuantPass() { return std::make_unique<ConvertSimulatedQuantPass>(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 02:10:16 UTC 2024 - 6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/hoist_broadcast_read.cc
if (failed(GetReads(func, replicate, reads))) return WalkResult::interrupt(); MoveReads(replicate, reads); return WalkResult::advance(); }); if (result.wasInterrupted()) return signalPassFailure(); } } // namespace std::unique_ptr<OperationPass<FuncOp>> CreateHoistBroadcastReadPass() { return std::make_unique<HoistBroadcastRead>(); } } // namespace internal
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc
ModuleOp module_op = getOperation(); if (failed(RenameExistingMainFunction(module_op))) { module_op->emitError("Failed to rename existing function `@main`."); signalPassFailure(); } if (!CreateMainFunction(module_op)) { signalPassFailure(); } } } // namespace std::unique_ptr<OperationPass<ModuleOp>> CreateInsertMainFunctionPass() { return std::make_unique<InsertMainFunctionPass>(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/propagate_quantize_type.cc
// module level. for (auto func : module_op.getOps<func::FuncOp>()) { if (failed(applyPatternsAndFoldGreedily(func, frozen_patterns))) { func.emitError() << "quant-propagate-quantize-type failed."; signalPassFailure(); } } } } // namespace // Creates an instance of the TensorFlow dialect PropagateQuantizeType pass. std::unique_ptr<OperationPass<ModuleOp>> CreatePropagateQuantizeTypePass() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7K bytes - Viewed (0)