fix fake quantize constants (#8244)

This commit is contained in:
Nikita Demashov 2021-10-28 13:08:23 +03:00 committed by GitHub
parent 6ac571e12a
commit f743fee0fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,10 +96,10 @@ bool MoveFakeQuantize::transform(TransformationContext& context, ngraph::pattern
fq_input->set_friendly_name(operation_original_name + "_" + std::to_string(i + 1));
}
auto newFq = fq->clone_with_new_inputs({ fq_input,
fq->get_input_node_shared_ptr(1),
fq->get_input_node_shared_ptr(2),
fq->get_input_node_shared_ptr(3),
fq->get_input_node_shared_ptr(4) });
fq->get_input_node_shared_ptr(1)->clone_with_new_inputs({}),
fq->get_input_node_shared_ptr(2)->clone_with_new_inputs({}),
fq->get_input_node_shared_ptr(3)->clone_with_new_inputs({}),
fq->get_input_node_shared_ptr(4)->clone_with_new_inputs({}) });
newFq->set_friendly_name(fq_original_name + "_" + std::to_string(i + 1));
fqs.push_back(newFq);
}