Skip to content

Commit

Permalink
[CORE] Try to correct 'undefined' and 'dynamic' type serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorDuplensky committed Jan 17, 2025
1 parent 8d16209 commit 799051c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/src/pass/serialize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -731,8 +731,9 @@ std::string get_opset_name(const ov::Node* n) {
std::string get_precision_name(const ov::element::Type& elem_type) {
switch (elem_type) {
case ::ov::element::Type_t::undefined:
return "undefined";
case ::ov::element::Type_t::dynamic:
return "UNSPECIFIED";
return "dynamic";
case ::ov::element::Type_t::f16:
return "FP16";
case ::ov::element::Type_t::f32:
Expand Down

0 comments on commit 799051c

Please sign in to comment.