When optimizing 1x1 convolution a new node will be inserted with the same name and the user config will be used. This means the new PointwiseConv1D/2D node will pick up whatever string the user set in the config and unless that matches lowercase latency or resource the compilation will fail. This was observed in #782.
The solution is not elegant, but it was the least intrusive. It should be fine until we rework the config itself.
Type of change
[x] Bug fix (non-breaking change that fixes an issue)
Tests
The test_pointwiseconv.py was extended to incude a test for this scenario.
Description
When optimizing 1x1 convolution a new node will be inserted with the same name and the user config will be used. This means the new
PointwiseConv1D/2D
node will pick up whatever string the user set in the config and unless that matches lowercaselatency
orresource
the compilation will fail. This was observed in #782.The solution is not elegant, but it was the least intrusive. It should be fine until we rework the config itself.
Type of change
Tests
The
test_pointwiseconv.py
was extended to incude a test for this scenario.Checklist
pre-commit
on the files I edited or added.