Commit ca220f7d authored by Michał Karzyński's avatar Michał Karzyński Committed by Scott Cyphers

Test Case: use expected shape, not computed output shape (#3064)

parent e21db881
......@@ -97,9 +97,8 @@ namespace ngraph
"All function results already have expected outputs.");
auto function_output_type = results.at(m_output_index)->get_element_type();
auto function_output_shape = results.at(m_output_index)->get_shape();
m_result_tensors.emplace_back(
m_backend->create_tensor(function_output_type, function_output_shape));
m_backend->create_tensor(function_output_type, expected_shape));
m_expected_outputs.emplace_back(std::make_shared<ngraph::op::Constant>(
function_output_type, expected_shape, values));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment