Skip to content

Commit 509dd57

Browse files
committed
tensor docs
1 parent 7a837b7 commit 509dd57

File tree

4 files changed

+2916
-2426
lines changed

4 files changed

+2916
-2426
lines changed

docs/docutils/torch-cwrap-gen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def get_return_wrapper(self, option):
4949
return Template("")
5050

5151
def print_declarations(self):
52-
print(" # torch.Tensor")
52+
print("# torch.Tensor")
5353
for name, declarations in sorted(self.declarations.items()):
5454
if name.endswith('_') and name[:-1] in self.declarations:
5555
continue

0 commit comments

Comments
 (0)