[CPU]Align dump_check.py with blob dump header precision switch from deprecated ePrecision to ov::element::Type_t. (#24617)

66a8600564 switched precision field in
dump header from ePrecision to ov::element::Type_t. update dump_check.py
to parse precision correctly.
This commit is contained in:
Luwei Zhou 2024-05-22 21:19:07 +08:00 committed by GitHub
parent 0a5a369efa
commit 0bac4612da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 8 deletions

View File

@ -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