- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 175 for signalPassFailure (0.28 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump_test.cc
mlir::ModuleOp module_op = getOperation(); mlir::PassManager pm(ctx); pm.addPass(CreateNoOpPass()); EnableIrPrinting(pm, "dump2"); if (failed(pm.run(module_op))) { signalPassFailure(); } } }; std::unique_ptr<mlir::OperationPass<mlir::ModuleOp>> CreateParentPass() { return std::make_unique<ParentPass>(); } } // namespace mlir_dump_test namespace {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 03:17:14 UTC 2024 - 6.4K 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) -
tensorflow/compiler/mlir/lite/transforms/split_merged_operands.cc
for (auto& op : bb) { if (failed(DuplicateValueIfNeeded(&op, &stateful_values, &builder))) { func.emitError() << "Failed to duplicate values for the stateful op\n"; return signalPassFailure(); } } } } } // namespace /// Creates an instance of the TensorFlow Lite dialect SplitMergedOperands /// pass.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 20:30:06 UTC 2024 - 5.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/partitioned_topological_sort.cc
}; void PartitionedTopologicalSortPass::runOnOperation() { func::FuncOp func = getOperation(); if (!PartitionedTopologicalSort(func, &func.getBody().front(), partition_)) { return signalPassFailure(); } } } // namespace std::unique_ptr<OperationPass<func::FuncOp>> CreatePartitionedTopologicalSortPass() { return std::make_unique<PartitionedTopologicalSortPass>(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 15:05:28 UTC 2023 - 7.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_variable_ops_to_ml_program.cc
solver.load<dataflow::DeadCodeAnalysis>(); solver.load<dataflow::SparseConstantPropagation>(); TF::LoadResourceDataflowAnalysis(solver); if (failed(solver.initializeAndRun(module))) return signalPassFailure(); SymbolTable symbol_table(module); OpBuilder globalBuilder(module.getBodyRegion()); module.walk([&](TF::ReadVariableOp op) { Operation* source = GetHandleSource(op, solver);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 06 23:53:00 UTC 2024 - 7.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/nchw_convolution_to_nhwc.cc
patterns.add<RewriteNchwConvolutionToNhwc>(&ctx); if (failed(applyPatternsAndFoldGreedily(func_op, std::move(patterns)))) { func_op.emitError() << "Failed to run NchwConvolutionToNhwcPass."; signalPassFailure(); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/add_quantization_unit_loc.cc
if (failed(applyPatternsAndFoldGreedily(func, std::move(patterns)))) { func.emitError() << "quant-add-quantization-unit-loc pattern " "conversion did not converge."; signalPassFailure(); } } } // namespace // Creates an instance of `AddQuantizationUnitLocPass`. std::unique_ptr<OperationPass<func::FuncOp>> CreateAddQuantizationUnitLocPass() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.4K bytes - Viewed (0)