Make channel inner loop of reference convolution (#2649)
Moving the channel part of the sum into an inner loop lets padding be ignored once per position rather than once per channel/position. This order of non-precise summation also seems to be closer to other convolution implementations. Add options to test generator for controlling precision of tests for debugging purposes, and fix another python3 problem.
Showing
Please
register
or
sign in
to comment