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 cf80977 commit 138b3e0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ def skip(app, what, name, obj, would_skip, options):
def setup(app):
app.connect("autodoc-skip-member", skip)

autodoc_mock_imports = ["torch"
]
autodoc_mock_imports = ["torch"]


source_suffix = [".rst", ".md"]
Expand Down

0 comments on commit 138b3e0

Please sign in to comment.