Closed jmitrevs closed 1 year ago
I believe an error was triggered with batch norms in Quartus, with weight_size being undefined. This fix treats BatchNorm weights as being small, which might not be the best fix in all cases. Nevertheless, we should not read a variable without making sure that each possible branch has it defined.
0.7.0?
I think so. It's a 1-line change, which prevents a crash.
Description
It's possible to read the variable before writing. This sets a default value
Type of change
Tests
Standard tests should be enough
Checklist
pre-commit
on the files I edited or added.