[snippets] Tokenization fix: fused names (#10997)
This commit is contained in:
parent
ad179980d9
commit
a887b41db6
@ -263,8 +263,8 @@ TokenizeSnippets::TokenizeSnippets() {
|
|||||||
OutputVector internal_inputs;
|
OutputVector internal_inputs;
|
||||||
|
|
||||||
auto input_values = node->input_values();
|
auto input_values = node->input_values();
|
||||||
/*
|
/*
|
||||||
* Called with subgraph->input_value(i) arg and used to
|
* Called with subgraph->input_value(i) arg and used to
|
||||||
* Check that the attached node input subgraph has the same input as the node itself.
|
* Check that the attached node input subgraph has the same input as the node itself.
|
||||||
* If true, then ternary merge is initiated.
|
* If true, then ternary merge is initiated.
|
||||||
* input
|
* input
|
||||||
@ -511,7 +511,7 @@ TokenizeSnippets::TokenizeSnippets() {
|
|||||||
for (size_t i = 0; i < act_body1->get_parameters().size(); i++) {
|
for (size_t i = 0; i < act_body1->get_parameters().size(); i++) {
|
||||||
act_body1->get_parameters()[i]->set_friendly_name(body_parameters[i]->get_friendly_name());
|
act_body1->get_parameters()[i]->set_friendly_name(body_parameters[i]->get_friendly_name());
|
||||||
}
|
}
|
||||||
subgraph->get_rt_info()["originalLayersNames"] = node->get_friendly_name();
|
subgraph->get_rt_info()["originalLayersNames"] = fusedNames;
|
||||||
|
|
||||||
remark(1) << "Replacement (merge) done for: "
|
remark(1) << "Replacement (merge) done for: "
|
||||||
<< subgraph->get_friendly_name()
|
<< subgraph->get_friendly_name()
|
||||||
|
Loading…
Reference in New Issue
Block a user