Skip to content

Unhandled overflow in int8 SVDF evaluation #2721

@VictorDominguite

Description

@VictorDominguite

When calculating the values to be inserted in the SVDF operator’s activation state in the svdf_common.cc file, there seems to be an error while handling overflow.
In line 111 the value for the dot_prod variable is limited to the interval of valid int8 values, [-128, 127]. But then, in line 115, the activation state’s zero point is added to dot_prod, which may lead to an unhandled overflow.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions