hunkim / PyTorchZeroToAll

Simple PyTorch Tutorials Zero to ALL!
http://bit.ly/PyTorchZeroAll
3.89k stars 1.2k forks source link

12_4 bug fixed #54

Closed renzilin closed 4 years ago

renzilin commented 4 years ago

Dear Professor,

When you asked me to send you a pull request, I checked the code again. And found that there is a little problem in printing infos. And I annotated it.

As for the layer_num and hidden_size, there is a missing assignment in the class. So the self.num_layers is missing. And I've already added it.

Best, Zilin

hunkim commented 4 years ago

What is "found that there is a little problem in printing infos. And I annotated it."? Can you also fix it?