From 0bac4612daf732a7dd5a9a1f286bfa8cbfbc43c1 Mon Sep 17 00:00:00 2001 From: Luwei Zhou Date: Wed, 22 May 2024 21:19:07 +0800 Subject: [PATCH] [CPU]Align dump_check.py with blob dump header precision switch from deprecated ePrecision to ov::element::Type_t. (#24617) 66a860056458090d50ff3b93a4ad05b2cb263f40 switched precision field in dump header from ePrecision to ov::element::Type_t. update dump_check.py to parse precision correctly. --- .../intel_cpu/tools/dump_check/dump_check.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/plugins/intel_cpu/tools/dump_check/dump_check.py b/src/plugins/intel_cpu/tools/dump_check/dump_check.py index f2426e3e133..0ac1cd41da8 100644 --- a/src/plugins/intel_cpu/tools/dump_check/dump_check.py +++ b/src/plugins/intel_cpu/tools/dump_check/dump_check.py @@ -75,14 +75,14 @@ def fill_tensors_from_image(input, input_file): class IEB: precision_table = { - 10:(np.float32, 4), - 12:(np.int16, 2), - 40:(np.uint8, 1), - 50:(np.int8, 1), - 70:(np.int32, 4), - 74:(np.uint32, 4), - 72:(np.int64, 8), - 73:(np.uint64, 8) + 5:(np.float32, 4), + 9:(np.int16, 2), + 14:(np.uint8, 1), + 8:(np.int8, 1), + 10:(np.int32, 4), + 15:(np.uint32, 4), + 11:(np.int64, 8), + 17:(np.uint64, 8) } @classmethod