[ DTS ] Reduces (#940)
This commit is contained in:
committed by
GitHub
parent
88cccee0b7
commit
bb44f17a06
@@ -849,8 +849,11 @@ int64_t ngraph::normalize_axis(const std::string& node_description,
|
||||
}
|
||||
|
||||
const auto tensor_rank_value = tensor_rank.get_length();
|
||||
return normalize_axis(
|
||||
node_description, axis, tensor_rank_value, -tensor_rank_value, tensor_rank_value - 1);
|
||||
return normalize_axis(node_description,
|
||||
axis,
|
||||
tensor_rank_value,
|
||||
-tensor_rank_value,
|
||||
tensor_rank_value ? (tensor_rank_value - 1) : 0);
|
||||
}
|
||||
|
||||
int64_t ngraph::normalize_axis(const Node* node,
|
||||
|
||||
Reference in New Issue
Block a user