[LPT] MoveFQ fix (#9821)
This commit is contained in:
1 parent
78db56d92d
commit
a3e2dbe353
2 files changed
+83
-2
No files matched your search
@@ -1776,7 +1776,8 @@ std::vector<std::vector<std::shared_ptr<ngraph::opset1::Constant>>> NetworkHelpe
|
||||
}
|
||||
for (size_t i = 0; i < currConstants.size(); ++i) {
|
||||
std::vector<std::shared_ptr<ngraph::opset1::Constant>> newConstant;
|
||||
if (currConstants[i]->output(0).get_shape()[concat_axis] == 1) {
|
||||
const auto const_shape = currConstants[i]->get_shape();
|
||||
if (ov::shape_size(const_shape) == 1 || const_shape[concat_axis] == 1) {
|
||||
newConstant.push_back(currConstants[i]);
|
||||
newConstants[i] = newConstant;
|
||||
continue;
|
||||
|
||||
+81
-1
@@ -478,7 +478,87 @@ const std::vector<MoveFakeQuantizeTransformationTestValues> testValues = {
|
||||
{},
|
||||
{},
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
LayerTransformation::createParamsU8I8(),
|
||||
true,
|
||||
1,
|
||||
{
|
||||
2,
|
||||
{},
|
||||
{},
|
||||
{},
|
||||
"",
|
||||
{
|
||||
256ul,
|
||||
{{}, {}, {1, 3, 1, 1}, {1, 3, 1, 1}},
|
||||
{-2.6f}, {2.6f},
|
||||
{-31.7f, -35.7f, -49.1f},
|
||||
{277.8f, 267.f, 254.9f}
|
||||
},
|
||||
{},
|
||||
{}
|
||||
},
|
||||
{
|
||||
2,
|
||||
{
|
||||
{256ul,
|
||||
{{}, {}, {1, 1, 1, 1}, {1, 1, 1, 1}},
|
||||
{-2.6}, {2.6f}, {-31.7f}, {277.8f}},
|
||||
{256ul,
|
||||
{{}, {}, {1, 2, 1, 1}, {1, 2, 1, 1}},
|
||||
{-2.6f}, {2.6f},
|
||||
{-35.7f, -49.1f},
|
||||
{267.f, 254.9f}}
|
||||
},
|
||||
{},
|
||||
{},
|
||||
"",
|
||||
{},
|
||||
{},
|
||||
{},
|
||||
}
|
||||
},
|
||||
{
|
||||
LayerTransformation::createParamsU8I8(),
|
||||
true,
|
||||
1,
|
||||
{
|
||||
2,
|
||||
{},
|
||||
{},
|
||||
{},
|
||||
"",
|
||||
{
|
||||
256ul,
|
||||
{{1, 3, 1, 1}, {1, 3, 1, 1}, {}, {}},
|
||||
{-31.7f, -35.7f, -49.1f},
|
||||
{277.8f, 267.f, 254.9f},
|
||||
{-2.6f}, {2.6f},
|
||||
},
|
||||
{},
|
||||
{}
|
||||
},
|
||||
{
|
||||
2,
|
||||
{
|
||||
{256ul,
|
||||
{{1, 1, 1, 1}, {1, 1, 1, 1}, {}, {}},
|
||||
{-31.7f}, {277.8f}, {-2.6}, {2.6f}},
|
||||
{256ul,
|
||||
{{1, 2, 1, 1}, {1, 2, 1, 1}, {}, {}},
|
||||
{-35.7f, -49.1f},
|
||||
{267.f, 254.9f},
|
||||
{-2.6f}, {2.6f}}
|
||||
},
|
||||
{},
|
||||
{},
|
||||
"",
|
||||
{},
|
||||
{},
|
||||
{},
|
||||
}
|
||||
},
|
||||
};
|
||||
INSTANTIATE_TEST_SUITE_P(
|
||||
smoke_LPT,
|
||||
|
||||
Reference in new issue
Block a user