MLBEDSW-11001: Added accumulator type validation to TOSA reader
The TOSA specification constraints the acc_type attribute data type to certain values. Since this value is currently not parsed, we can do this check directly in the TOSA reader.
The allowed operator acc_types are: DEPTHWISE_CONV2D - INT32, INT48 CONV2D - INT32, INT48 CONV3D - INT32, INT48 TRANSPOSE_CONV2D - INT32, INT48 AVG_POOL2D - INT32
Change-Id: I31d3558bf6036195c586d79d82c2b19d88c10a56 Signed-off-by: Max Bergfelt max.bergfelt@arm.com
Edited by Max Bergfelt