Add default to switch (#14110)
This commit is contained in:
parent
8134eba818
commit
052a32be57
@ -83,6 +83,8 @@ std::tuple<Shape, Shape, Shape> calculate_static_output_shapes(const Tensor& inp
|
|||||||
case element::f64:
|
case element::f64:
|
||||||
unique_elements = call_unique<double>(input_data, std::move(axis), op.get_sorted());
|
unique_elements = call_unique<double>(input_data, std::move(axis), op.get_sorted());
|
||||||
break;
|
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,
|
return ngraph::runtime::reference::make_tensor_shapes(unique_elements,
|
||||||
|
Loading…
Reference in New Issue
Block a user