tflite-micro icon indicating copy to clipboard operation
tflite-micro copied to clipboard

Unhandled overflow in int8 SVDF evaluation

Open VictorDominguite opened this issue 1 year ago • 4 comments

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.

VictorDominguite avatar Oct 09 '24 13:10 VictorDominguite

"This issue is being marked as stale due to inactivity. Remove label or comment to prevent closure in 5 days."

github-actions[bot] avatar Nov 04 '24 10:11 github-actions[bot]

"This issue is being marked as stale due to inactivity. Remove label or comment to prevent closure in 5 days."

github-actions[bot] avatar Dec 07 '24 10:12 github-actions[bot]

"This issue is being marked as stale due to inactivity. Remove label or comment to prevent closure in 5 days."

github-actions[bot] avatar Jan 13 '25 10:01 github-actions[bot]

"This issue is being closed because it has been marked as stale for 5 days with no further activity."

github-actions[bot] avatar Jan 19 '25 10:01 github-actions[bot]