Here’s what I get on a python REPL:
Python 3.6.4 |Anaconda, Inc.| (default, Mar 13 2018, 01:15:57)
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> from torch.utils.
torch.utils.backcompat  torch.utils.hooks

I don’t see the data namespace.
even if I do:
from torch.utils.data import [tab key]

Returns no entries whatsoever.