Fixed KW hits (#4639)
This commit is contained in:
parent
7c5c708205
commit
972499b991
@ -194,6 +194,8 @@ namespace ngraph
|
|||||||
|
|
||||||
// Check execution condition
|
// Check execution condition
|
||||||
bool body_exec_condition(false);
|
bool body_exec_condition(false);
|
||||||
|
if (body_outputs.size() > special_ports.body_condition_output_idx &&
|
||||||
|
body_outputs[special_ports.body_condition_output_idx])
|
||||||
body_outputs[special_ports.body_condition_output_idx]->read(
|
body_outputs[special_ports.body_condition_output_idx]->read(
|
||||||
&body_exec_condition, sizeof(bool));
|
&body_exec_condition, sizeof(bool));
|
||||||
if (!body_exec_condition)
|
if (!body_exec_condition)
|
||||||
|
@ -161,6 +161,8 @@ namespace ngraph
|
|||||||
for (size_t i = 0; i < concat_outputs.size(); ++i)
|
for (size_t i = 0; i < concat_outputs.size(); ++i)
|
||||||
{
|
{
|
||||||
const auto& concat_desc = concat_outputs[i];
|
const auto& concat_desc = concat_outputs[i];
|
||||||
|
if (!concat_desc)
|
||||||
|
continue;
|
||||||
auto shape =
|
auto shape =
|
||||||
func->get_results().at(concat_desc->m_body_value_index)->get_shape();
|
func->get_results().at(concat_desc->m_body_value_index)->get_shape();
|
||||||
std::vector<Shape> shapes_to_concat(values_to_concat[i].size(), shape);
|
std::vector<Shape> shapes_to_concat(values_to_concat[i].size(), shape);
|
||||||
|
Loading…
Reference in New Issue
Block a user