Skip to content

Commit bce75d8

Browse files
authored
Update intermediate_source/_torch_export_nightly_tutorial.py
1 parent c591d0f commit bce75d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

intermediate_source/_torch_export_nightly_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ def nonzero(x):
466466
def _(x):
467467
# Number of nonzero-elements is data-dependent.
468468
# Since we cannot peek at the data in an abstract implementation,
469-
# we use the `ctx` object to construct a new symint that
469+
# we use the `ctx` object to construct a new ``symint`` that
470470
# represents the data-dependent size.
471471
ctx = torch.library.get_ctx()
472472
nnz = ctx.new_dynamic_size()

0 commit comments

Comments
 (0)