Skip to content

Commit

Permalink
mock import numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
KindXiaoming committed Apr 29, 2024
1 parent a792079 commit 718742a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +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 = ["numpy"]


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

0 comments on commit 718742a

Please sign in to comment.