Add default to switch (#14110)

This commit is contained in:
Katarzyna Mitrus 2022-11-21 20:59:23 +01:00 committed by GitHub
parent 8134eba818
commit 052a32be57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,6 +83,8 @@ std::tuple<Shape, Shape, Shape> calculate_static_output_shapes(const Tensor& inp
case element::f64:
unique_elements = call_unique<double>(input_data, std::move(axis), op.get_sorted());
break;
default:
OPENVINO_UNREACHABLE("Operator `Unique-10` doesn't support element type: ", op.get_input_element_type(0));
}
return ngraph::runtime::reference::make_tensor_shapes(unique_elements,