which would do something like
out = inp.view(inp.size(0), -1)
return out
which would do something like
out = inp.view(inp.size(0), -1)
return out
docs show in colab
for batch, labels in dl:
show_batch(batch)
The docs also show up in IPython, so maybe there is some issue on the website.
If you don’t want to use matplotlib, you could use e.g. PIL instead.
However, in your code you are free to use whatever works for you.
@ptrblck the function is missing there because you are on the stable doc, not master’s doc!
I’m pretty sure I was looking at both and reported it. 
However, the master docs are now there.
Since this module is available in 1.2.0, I think we might need to fix the stable docs as well.