fix build error by removing makeDynamicParam (#19431)
This commit is contained in:
parent
2e78eec502
commit
94c21b53b3
@ -79,9 +79,11 @@ protected:
|
|||||||
std::tie(inputShapes, netType, targetDevice, additionalConfig) = basicParamsSet;
|
std::tie(inputShapes, netType, targetDevice, additionalConfig) = basicParamsSet;
|
||||||
|
|
||||||
init_input_shapes(inputShapes);
|
init_input_shapes(inputShapes);
|
||||||
const auto inShapeDeconv = inputDynamicShapes[0];
|
|
||||||
const auto inShapeEReduce = inputDynamicShapes[1];
|
ov::ParameterVector params;
|
||||||
auto params = builder::makeDynamicParams(netType, {inShapeDeconv, inShapeEReduce});
|
for (auto&& shape : inputDynamicShapes) {
|
||||||
|
params.push_back(std::make_shared<ov::op::v0::Parameter>(netType, shape));
|
||||||
|
}
|
||||||
auto paramOuts = helpers::convert2OutputVector(ngraph::helpers::castOps2Nodes<ngraph::opset3::Parameter>(params));
|
auto paramOuts = helpers::convert2OutputVector(ngraph::helpers::castOps2Nodes<ngraph::opset3::Parameter>(params));
|
||||||
|
|
||||||
auto deconvOp = ngraph::builder::makeConvolutionBackpropData(paramOuts[0], netType, {2, 2, 2}, {2, 2, 2}, {0, 0, 0},
|
auto deconvOp = ngraph::builder::makeConvolutionBackpropData(paramOuts[0], netType, {2, 2, 2}, {2, 2, 2}, {0, 0, 0},
|
||||||
|
Loading…
Reference in New Issue
Block a user