pytorch
dfd822d7 - Fix deserialization for UpsamplingBilinear2d (#101248)

Comment changes are shownComment changes are hidden
Commit
1 year ago
Fix deserialization for UpsamplingBilinear2d (#101248) Fixes #100935 , adding handling for the recompute_scale_factor field. I would be happy to write a test for this, but might need some advice on where it should go/how to reliably reproduce the given issue. I'd also be happy to iterate on the proposed changes. Pull Request resolved: https://github.com/pytorch/pytorch/pull/101248 Approved by: https://github.com/albanD
Author
Committer
Parents
  • torch/nn/modules
    • File
      upsampling.py