Skip to content

Instantly share code, notes, and snippets.

@jamesr66a
Created October 10, 2018 21:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesr66a/46536b4f1e62a49deb913499a1326b02 to your computer and use it in GitHub Desktop.
Save jamesr66a/46536b4f1e62a49deb913499a1326b02 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "test/test_jit.py", line 2, in <module>
import torch
File "/Users/jamesreed/onnx-fairseq/pytorch/torch/__init__.py", line 301, in <module>
from . import _torch_docs, _tensor_docs, _storage_docs
File "/Users/jamesreed/onnx-fairseq/pytorch/torch/_tensor_docs.py", line 562, in <module>
""")
File "/Users/jamesreed/onnx-fairseq/pytorch/torch/_tensor_docs.py", line 9, in add_docstr_all
add_docstr(getattr(torch._C._TensorBase, method), docstr)
AttributeError: type object 'torch._C._TensorBase' has no attribute 'contiguous'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment