Skip to content

Commit 85d3db6

Browse files
author
Max Jones
committed
Mock up torch imports
1 parent 4a22503 commit 85d3db6

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

doc/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def skip(app, what, name, obj, skip, options):
7070
def setup(app):
7171
app.connect('autodoc-skip-member', skip)
7272

73+
autodoc_mock_imports = ["torch"]
7374

7475
# link to github issues
7576
extlinks = {

doc/environment.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ dependencies:
1212
- numpy
1313
- numpydoc
1414
- pytest
15-
- pytorch
1615
- sphinx
1716
- sphinx-autosummary-accessors
1817
- sphinx-copybutton

0 commit comments

Comments
 (0)