Hey guys,
I was following exactly the same as the tutorial says
which official PyTorch.org 116 had given on their site.
However, I got stuck on the softmax function which shows no warning according to the tutorial, but my python gives me a warning message it says,
UserWarning: Implicit dimension choice for log_softmax has been deprecated. Change the call to include dim=X as an argument.
return F.log_softmax(self.linear(bow_vec))

Can anyone of you guys knows what ‘dim’ variable do?
Why does it produce a warning with my python?