Skip to content

Commit

Permalink
Add placeholder tensor documentation for methods that exist in torch. (
Browse files Browse the repository at this point in the history
  • Loading branch information
colesbury authored and soumith committed Jan 18, 2017
1 parent 9c218b4 commit 14d5d52
Show file tree
Hide file tree
Showing 4 changed files with 1,281 additions and 2 deletions.
6 changes: 4 additions & 2 deletions torch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,5 +245,7 @@ def storage_type(cls):
import torch.nn
import torch.optim
import torch.multiprocessing
from . import docs # attaches docstrings to torch functions
del docs

# attach docstrings to torch and tensor functions
from . import _torch_docs, _tensor_docs
del _torch_docs, _tensor_docs
Loading

0 comments on commit 14d5d52

Please sign in to comment.