- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 175 for signalPassFailure (0.41 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_func_to_bfloat16.cc
BFloat16TypeConversionTarget target(*context, converter); if (failed(applyPartialConversion(func_op.getOperation(), target, std::move(patterns)))) { return signalPassFailure(); } } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/pin_ops_with_side_effects.cc
// for them. if (fn.walk([&](TFL::ControlNodeOp) { return WalkResult::interrupt(); }).wasInterrupted()) { fn.emitOpError("Can't have control ops in this pass."); signalPassFailure(); } llvm::SmallVector<Operation *, 4> ops_with_side_effects; // We're iterating over all operations at the top block level, excluding
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/tensorflow/transforms/xla_call_module_serialization.cc
return mlir::WalkResult::interrupt(); } return mlir::WalkResult::advance(); }); if (result.wasInterrupted()) { return signalPassFailure(); } RemoveSerializedStablehloFunctions(module); } }; } // namespace std::unique_ptr<OperationPass<ModuleOp>> CreateXlaCallModuleSerializationPass() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc
SymbolTable symbol_table(getOperation()); if (Operation *nested_module = symbol_table.lookup(kNestedModule)) { nested_module->emitOpError("unexpected already present outlined module."); return signalPassFailure(); } ModuleOp outlined_module = ModuleOp::create(getOperation().getLoc()); outlined_module->setAttrs(getOperation()->getAttrDictionary()); outlined_module->setAttr(SymbolTable::getSymbolAttrName(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.7K 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/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/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)