Fix fake fusion for convolutions without bias
Summary: Fix AttributeError when performing fake fusion on convolution layers without bias by creating a zero-filled bias parameter instead of attempting to access requires_grad on None.
Differential Revision: D87356763
:link: Helpful Links
:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/3353
- :page_facing_up: Preview Python docs built from this PR
Note: Links to docs will display an error until the docs builds have been completed.
This comment was automatically generated by Dr. CI and updates every 15 minutes.
@balakrishnanv has exported this pull request. If you are a Meta employee, you can view the originating Diff in D87356763.
@balakrishnanv has imported this pull request. If you are a Meta employee, you can view this in D87356763.