- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 67 for signalPassFailure (0.23 sec)
-
tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc
mlir::RewritePatternSet patterns(context); AddLiftTfliteFlexOpsPatterns(context, patterns); if (failed(applyPatternsAndFoldGreedily(func, std::move(patterns)))) { signalPassFailure(); return; } } }; } // namespace void AddLiftTfliteFlexOpsPatterns(MLIRContext* context, RewritePatternSet& patterns) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/unfuse_batch_norm_pass.cc
patterns.add<UnfuseBatchNormInferencePattern>(&getContext()); if (failed(applyPatternsAndFoldGreedily(getOperation(), std::move(patterns)))) { return signalPassFailure(); } } }; std::unique_ptr<Pass> createUnfuseBatchNormPass() { return std::make_unique<UnfuseMhloBatchNormPass>(); } static PassRegistration<UnfuseMhloBatchNormPass> pass;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_deserialization.cc
op))) { return WalkResult::interrupt(); } return WalkResult::advance(); }); if (result.wasInterrupted()) { return signalPassFailure(); } } }; } // namespace std::unique_ptr<OperationPass<ModuleOp>> CreateXlaCallModuleDeserializationPass() { return std::make_unique<XlaCallModuleDeserializationPass>(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 23 09:05:47 UTC 2024 - 11.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_weights.cc
// parallel. for (auto func : module_op.getOps<func::FuncOp>()) { if (failed(applyPatternsAndFoldGreedily(func, frozen_patterns))) { func.emitError() << "quant-quantize-weights failed."; signalPassFailure(); } } } } // namespace std::unique_ptr<OperationPass<ModuleOp>> CreateQuantizeWeightsPass( const tensorflow::quantization::QuantizationOptions& quant_options) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 11.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/mark_ops_for_outside_compilation.cc
auto module = getOperation(); const Dialect* tf_dialect = getContext().getLoadedDialect("tf"); if (!tf_dialect) { getOperation().emitError() << "'tf' dialect is not registered"; return signalPassFailure(); } RewritePatternSet patterns(&getContext()); mlir::mhlo::PopulateLegalizeTfPatterns(module.getContext(), &patterns); mlir::TF::PopulateTFLoweringBeforeHLOPatterns(module.getContext(), &patterns);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_resource_partitioning.cc
cluster_funcs.push_back(cluster_func); }); for (tf_device::ClusterFuncOp cluster_func : cluster_funcs) if (failed(PartitionResourceReadsWrites(cluster_func))) return signalPassFailure(); } } // namespace std::unique_ptr<OperationPass<func::FuncOp>> CreateTPUResourceReadsWritesPartitioningPass() { return std::make_unique<TPUResourceReadsWritesPartitioningPass>(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/parallel_execute_to_islands.cc
for (auto island_op : graph_op.getOps<tf_executor::IslandOp>()) { if (!island_op.WrapsSingleOp()) { island_op.emitError( "tf_executor.island must perfectly wrap a single op"); signalPassFailure(); } if (isa<tf_device::ParallelExecuteOp>(&island_op.GetBody().front())) parallel_execute_op_islands.push_back(island_op); } });
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 19 19:47:16 UTC 2023 - 11.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_regions.cc
return WalkResult::interrupt(); } } } return WalkResult::advance(); }); if (result.wasInterrupted()) return signalPassFailure(); } } // namespace std::unique_ptr<OperationPass<ModuleOp>> CreateTFFunctionalControlFlowToRegions() { return std::make_unique<FunctionalControlFlowToRegions>(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize_drq.cc
removeAllStatsOp(func); if (failed(applyPatternsAndFoldGreedily(func, frozen_patterns))) { func.emitError() << "quant-prepare-quantize-drq failed."; signalPassFailure(); } } } } // namespace // Creates an instance of the TensorFlow dialect PrepareQuantizeDRQ // pass. std::unique_ptr<OperationPass<ModuleOp>> CreatePrepareQuantizeDRQPass(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc
patterns.add(ConstantFoldMul); if (failed(applyPatternsAndFoldGreedily(getOperation(), std::move(patterns)))) { return signalPassFailure(); } } }; std::unique_ptr<Pass> createFoldBroadcastPass() { return std::make_unique<FoldBroadcastPass>(); } static PassRegistration<FoldBroadcastPass> pass;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.5K bytes - Viewed (0)