Skip to content

Commit

Permalink
Tutorial 5: Adjusting PreAct 1x1 comment
Browse files Browse the repository at this point in the history
  • Loading branch information
phlippe committed Mar 6, 2023
1 parent b0e2c2f commit 3c5703b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1472,7 +1472,7 @@
" nn.Conv2d(c_out, c_out, kernel_size=3, padding=1, bias=False)\n",
" )\n",
" \n",
" # 1x1 convolution needs to apply non-linearity as well as not done on skip connection\n",
" # 1x1 convolution can apply non-linearity as well, but not strictly necessary\n",
" self.downsample = nn.Sequential(\n",
" nn.BatchNorm2d(c_in),\n",
" act_fn(),\n",
Expand Down

0 comments on commit 3c5703b

Please sign in to comment.