Skip to content

Commit d3427aa

Browse files
fix tab in quickstart doc
1 parent 0020c3f commit d3427aa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/source/quickstart.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -696,10 +696,10 @@ There is also a more flexible torch interface that support static non-tensor inp
696696
.. code-block:: python
697697
698698
def f(a, i):
699-
s = 0.
700-
for _ in range(i):
701-
s += a
702-
return s
699+
s = 0.
700+
for _ in range(i):
701+
s += a
702+
return s
703703
704704
f_torch = tc.interfaces.torch_interface_kws(f)
705705
f_torch(torch.ones([2]), i=3)

0 commit comments

Comments
 (0)