Skip to content

Commit

Permalink
reqst
Browse files Browse the repository at this point in the history
  • Loading branch information
dingguanglei committed Oct 26, 2018
1 parent cedd8ac commit e72860b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,14 @@
'torch.utils.data',
'torch.autograd','torch.autograd.Variable'
'torchvision.transforms','torchvision', 'torchvision.utils',
'torchvision.transforms.Resize','torchvision.transforms.ToTensor',
'torchvision.transforms.Normalize',
'torchvision.utils.make_grid','torchvision.datasets',
'torchvision.datasets.MNIST','torchvision.datasets.FashionMNIST',
'torchvision.datasets.CIFAR10','torchvision.datasets.LSUN',
]


]
for mod_name in MOCK_MODULES:
sys.modules[mod_name] = mock.Mock()
import torch
Expand Down

0 comments on commit e72860b

Please sign in to comment.