You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no need to call iter in this line and that is misleading. Internally, by calling iter an _BaseDataLoaderIter instance is returned. Then in the for loop, again iter is called by the interpreter and the same instance is returned. So there is no need to that call.
tutorials/beginner_source/nn_tutorial.py
Line 776 in 796013c
There is no need to call
iter
in this line and that is misleading. Internally, by callingiter
an_BaseDataLoaderIter
instance is returned. Then in thefor
loop, againiter
is called by the interpreter and the same instance is returned. So there is no need to that call.cc @suraj813
The text was updated successfully, but these errors were encountered: