• Ashwin Bharambe's avatar
    Fix AffineChannel op param initialization · e59c30bb
    Ashwin Bharambe authored
    Summary:
    The `AffineChannel` op wrapper did not use the officially sanctioned
    version of parameter creation, namely using `ModelHelper.create_param()`
    Presumably this was because of the `share_with` option where you could share
    parameters.
    
    While doing this though, the parameters were never initialized! This probably
    doesn't matter for the algorithm (those params get overwritten pretty quickly)
    but it's a bug nevertheless. I decided to kill the `share_with` option since
    this isn't used anyway and resort to the standard way of creating weights and
    biases.
    
    Reviewed By: rbgirshick
    
    Differential Revision: D6826914
    
    fbshipit-source-id: 65628c59b085b9ab160006b003dd40dbefa2f7c1
    e59c30bb
Name
Last commit
Last update
.github Loading commit data...
configs Loading commit data...
demo Loading commit data...
docker Loading commit data...
lib Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
CONTRIBUTING.md Loading commit data...
FAQ.md Loading commit data...
GETTING_STARTED.md Loading commit data...
INSTALL.md Loading commit data...
LICENSE Loading commit data...
MODEL_ZOO.md Loading commit data...
NOTICE Loading commit data...
README.md Loading commit data...