Skip to content

Commit

Permalink
cleaner diff
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandrskoselevs committed Aug 23, 2024
1 parent 305a055 commit 3aeb8db
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Notebooks/Chap09/9_5_Augmentation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,7 @@
" # Initialize the parameters with He initialization\n",
" if isinstance(layer_in, nn.Linear):\n",
" nn.init.kaiming_uniform_(layer_in.weight)\n",
" layer_in.bias.data.fill_(0.0)\n",
"\n",
"# Call the function you just defined\n",
"model.apply(weights_init)"
" layer_in.bias.data.fill_(0.0)\n"
],
"metadata": {
"id": "JfIFWFIL33eF"
Expand Down

0 comments on commit 3aeb8db

Please sign in to comment.