Skip to content

Commit 8a80433

Browse files
authored
Mock scipy and numpy for Read the Docs (#108)
1 parent 9dd52c3 commit 8a80433

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ def __getattr__(cls, name):
1515

1616

1717
MOCK_MODULES = ['tensorflow', 'tensorflow.core', 'tensorflow.core.framework', 'tensorflow.python',
18-
'tensorflow.python.framework', 'tensorflow_serving', 'tensorflow_serving.apis']
18+
'tensorflow.python.framework', 'tensorflow_serving', 'tensorflow_serving.apis',
19+
'numpy', 'scipy', 'scipy.sparse']
1920
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
2021

2122
version = '1.1.2'

0 commit comments

Comments
 (0)