Type Hints for Trainer (#912)

* typehints for trainer 

fix type links in docs


fix types in docs


type hints for trainer methods


fix fit docs


switch to comments


readability


added sphinx typehints extension


wip


remove typehints from docstring


more type annotations


fix spaces

* Update trainer.py

Co-authored-by: William Falcon <waf2107@columbia.edu>
This commit is contained in:
Adrian Wälchli
2020-02-22 21:23:30 -05:00
committed by GitHub
co-authored by William Falcon
parent e05586c4b2
commit da2f11a9c4
3 changed files with 113 additions and 95 deletions
+1
View File
@@ -86,6 +86,7 @@ extensions = [
'sphinx.ext.autosectionlabel',
# 'm2r',
'nbsphinx',
'sphinx_autodoc_typehints',
]
# Add any paths that contain templates here, relative to this directory.