Skip to content

Commit

Permalink
fml
Browse files Browse the repository at this point in the history
  • Loading branch information
cpnota committed Jan 14, 2020
1 parent 88c0049 commit cae9f0d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 0 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@ python:
path: .
extra_requirements:
- docs
- pytorch
2 changes: 1 addition & 1 deletion all/approximation/q_dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def project(self, dist, support):
return target_dist


class QDistModule(nn.Module):
class QDistModule(torch.nn.Module):
def __init__(self, model, n_actions, atoms):
super().__init__()
self.atoms = atoms
Expand Down
6 changes: 6 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@
autodoc_default_flags = ['members']
autosummary_generate = True

# Mock requirements to save resources during doc build machine setup
autodoc_mock_imports = [
'torch',
'torchvision',
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand Down

0 comments on commit cae9f0d

Please sign in to comment.