- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 89 for emitError (0.21 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc
} if (!common_arg_index.has_value()) { common_arg_index = block_arg.getArgNumber(); } else if (common_arg_index.value() != block_arg.getArgNumber()) { return op->emitError("result #") << result_idx << " is not tied to the same argument across all branches"; } } if (io_match && result_idx != common_arg_index.value()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 19.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc
return IsControlFlowV1Op(op) ? mlir::WalkResult::interrupt() : mlir::WalkResult::advance(); }); if (result.wasInterrupted()) { mlir::TFL::AttachErrorCode( module.emitError( "The graph has Control Flow V1 ops. TFLite converter doesn't " "support Control Flow V1 ops. Consider using Control Flow V2 ops "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 23.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_tf_xla_call_module_to_stablehlo_pass.cc
auto error_msg = "'main' FuncOp in XlaCallModuleOp missing or has visibility other " "than 'public'"; if (main_func_op) { main_func_op->emitError(error_msg); } return rewriter.notifyMatchFailure(op, error_msg); } } Builder stablehlo_builder(stablehlo_module_op.get().getContext());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 25 09:43:18 UTC 2024 - 10.9K bytes - Viewed (0) -
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/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/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/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)