Sometimes, I found that some source code of pytorch are not listed in pytorch document website:https://pytorch.org/docs/stable/index.html 7
But I found a Github repo of pytorch here:https://github.com/pytorch 8
However, I think the source code in that repo is not the real source code or the latest version. Some attributes of some class cannot find in source code in that repo.
For examples, I can’t find attribute .train_labels in torchvision.dataset.ImageFloder class. But dataset.train_labels is availible which stores each img’s labels.