mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-26 22:35:43 +00:00
Update onnxruntime/core/providers/nnapi/nnapi_builtin/builders/model_builder.cc
Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>
This commit is contained in:
parent
6bdb03281a
commit
cc15ceef4e
1 changed files with 4 additions and 3 deletions
|
|
@ -594,9 +594,10 @@ Status ModelBuilder::Compile(std::unique_ptr<Model>& model) {
|
|||
auto& [support_cnt, unspport_cnt] = ops_status;
|
||||
total_ops += support_cnt + unspport_cnt;
|
||||
if (support_cnt > 0) {
|
||||
fallback_op_detail += MakeString(support_cnt, "x ", op, ", ");
|
||||
} else if (unspport_cnt > 0) {
|
||||
normal_op_detail += MakeString(unspport_cnt, "x ", op, ", ");
|
||||
normal_op_detail += MakeString(support_cnt, "x ", op, ", ");
|
||||
}
|
||||
if (unspport_cnt > 0) {
|
||||
fallback_op_detail += MakeString(unspport_cnt, "x ", op, ", ");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue