pytorch / cppdocs

PyTorch C++ API Documentation
https://pytorch.org/cppdocs
208 stars 33 forks source link

Fix incorrect RST in cppdocs tensor_basics.rst.txt #4

Closed huntzhan closed 5 years ago

huntzhan commented 5 years ago

https://pytorch.org/cppdocs/notes/tensor_basics.html#scalars-and-zero-dimensional-tensors

image

goldsborough commented 5 years ago

Thanks for the fix! This repo is actually generated from the pytorch/docs/cpp folder in the PyTorch repo, so this change wouldn't do anything. I will apply your fixes to the main repo (you would have had to change https://github.com/pytorch/pytorch/blob/master/docs/cpp/source/notes/tensor_basics.rst). I'll also add a note to this repo to clarify this. Thanks again though!