- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 216 for emitError (0.15 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/passes/preprocess_op.cc
FrozenRewritePatternSet frozen_patterns(std::move(patterns)); for (auto func : module_op.getOps<func::FuncOp>()) { if (failed(applyPatternsAndFoldGreedily(func, frozen_patterns))) { func.emitError() << "quant-preprocess-op failed."; signalPassFailure(); } } } } // namespace // Creates an instance of the TensorFlow dialect PreprocessOp // pass.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_weight_param.cc
/*is_signed=*/true, /*narrow_range=*/true, /*legacy_float_scale=*/false); } auto quant_type = dyn_cast<quant::QuantizedType>(weight_type); if (!quant_type) { op->emitError( "Failed to get weight quantization parameters for weight-only " "quantization."); return; } const Type expressed_type = op->getResult(0).getType();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 05:56:10 UTC 2024 - 10.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/check_control_dependencies.cc
bool found_path = FindPathBfs(source_op, target_op, path); if (!found_path) { // This shouldn't happen, returning an error instead of asserting so it // doesn't go unnoticed if it ever happens. target_op.emitError("no path to target op found, cannot emit warnings"); return; } // Emit warnings for path. int node_idx = 0; for (auto iter = path.rbegin(); iter != path.rend(); ++iter) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 10.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/parallel_execute_to_islands.cc
getOperation().walk([&](tf_executor::GraphOp graph_op) { 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()))
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/quantization/tensorflow/passes/prepare_quantize_drq.cc
for (auto func : module_op.getOps<func::FuncOp>()) { 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.
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/quantization/tensorflow/passes/convert_tf_xla_op_to_tf_op.cc
// - Converting XlaGatherOp to SliceOp RewritePatternSet patterns(ctx); populateWithGenerated(patterns); if (failed(applyPatternsAndFoldGreedily(func, std::move(patterns)))) { func.emitError() << "quant-converting-tf-xla-op-to-tf-op failed."; signalPassFailure(); } } } // namespace std::unique_ptr<OperationPass<func::FuncOp>> CreateConvertTfXlaOpToTfOpPass() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 13.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_save_function_ops_to_main.cc
} // namespace void MergeSaveFunctionOpsToMainPass::runOnOperation() { ModuleOp module_op = getOperation(); func::FuncOp main_func_op = GetMainFunction(module_op); if (!main_func_op) { module_op.emitError("Main function op not found."); return signalPassFailure(); } func::FuncOp save_func_op = GetSaveFuncOp(module_op); if (!save_func_op) return;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/add_dump_tensor_op.cc
log_dir_path_); if (failed(applyPatternsAndFoldGreedily(module, std::move(patterns)))) { module.emitError() << "quant-add-dump-tensor-op failed."; signalPassFailure(); } } } // namespace std::unique_ptr<OperationPass<ModuleOp>> CreateAddDumpTensorOpPass(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 22:55:22 UTC 2024 - 13K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc
} Operation* symbol = symbol_table.lookup(caller.getF()); if (symbol == nullptr) { func.emitError() << "Symbol not found in SymbolTable: " << caller.getF(); return LogicalResult::failure(); } if (!llvm::isa<func::FuncOp>(symbol)) { func.emitError() << "Invalid callee: " << caller.getF(); return LogicalResult::failure(); } auto callee =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 92.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc
for (Operation& op : graph_body) { if (failed(CollectSpecialTpuOps(is_op_calling_func_for_cluster, &op, cluster_to_tpu_ops_map, visited_ops))) { graph.emitError() << "Collect special Tpu ops failed: " << "Graph contains op with inconsistent cluster info\n"; signalPassFailure(); return WalkResult::interrupt(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 27.6K bytes - Viewed (0)