-
-
Save FrancescoSaverioZuppichini/52f470958f774842686b89a65b40966e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def conv_block(in_f, out_f, *args, **kwargs): | |
return nn.Sequential( | |
nn.Conv2d(in_f, out_f, *args, **kwargs), | |
nn.BatchNorm2d(out_f), | |
nn.ReLU() | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment