Skip to content

Commit

Permalink
mockimport torch
Browse files Browse the repository at this point in the history
  • Loading branch information
KindXiaoming committed Apr 29, 2024
1 parent 7997593 commit cf80977
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,7 @@ def skip(app, what, name, obj, would_skip, options):
def setup(app):
app.connect("autodoc-skip-member", skip)

autodoc_mock_imports = ["torch",
"matplotlib",
"numpy",
"sklearn",
"sympy",
"tqdm"
autodoc_mock_imports = ["torch"
]


Expand Down

0 comments on commit cf80977

Please sign in to comment.