Fix CPU LRN int overflow issues

Merged
ED
7mo ago
+258-46

Description

Fix int overflow issues in original implementation.

Add some additional tests.

Note - there aren't regression tests for the int overflow issues as those would likely involve large allocations. Open to suggestions on how to test this.

Motivation and Context

Fix some int overflow issues.