don't return in __init__ functions (#60830)
Summary:
Fix some warnings from a code analyzer
Pull Request resolved: https://github.com/pytorch/pytorch/pull/60830
Reviewed By: jbschlosser
Differential Revision: D29433638
Pulled By: albanD
fbshipit-source-id: 148df1d8a0a79778f18e8b6abffbddef36c5031c