Skip to content

Commit

Permalink
change inputShape
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-cv committed Jun 7, 2021
1 parent 03415e5 commit 1ea081c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ void ReduceEltwiseTest::SetUp() {

auto reduce = std::make_shared<ngraph::opset3::ReduceSum>(paramOuts[0], reductionAxesNode, keepDims);

std::vector<size_t> constShape(3, 1);
std::vector<size_t> constShape(reduce.get()->get_output_size(), 1);
constShape[2] = inputShape.back();
auto constant = ngraph::builder::makeConstant<float>(ngPrc, constShape, {}, true);
auto eltw = ngraph::builder::makeEltwise(reduce, constant, ngraph::helpers::EltwiseTypes::MULTIPLY);
Expand Down

0 comments on commit 1ea081c

Please sign in to comment.