Global replace [ \t]+$, add "GB" (#1751)

* "GB"

* Replace [ \t]+$ global

Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>
This commit is contained in:
Scott Lahteine
2022-12-19 10:36:39 -06:00
committed by GitHub
parent 4fd97ceddd
commit 7d8d4bcafb
45 changed files with 575 additions and 148 deletions

View File

@ -1,5 +1,5 @@
import torch.nn as nn
def _conv_forward_asymmetric(self, input, weight, bias):
"""
Patch for Conv2d._conv_forward that supports asymmetric padding
@ -27,4 +27,4 @@ def configure_model_padding(model, seamless, seamless_axes):
if hasattr(m, 'asymmetric_padding_mode'):
del m.asymmetric_padding_mode
if hasattr(m, 'asymmetric_padding'):
del m.asymmetric_padding
del m.asymmetric_padding