Skip to content

Commit

Permalink
[Doc] Fix set_axis_separator example (#16792)
Browse files Browse the repository at this point in the history
Minor fix to update the `set_axis_separator` example to match the
definition
  • Loading branch information
quic-sanirudh authored Mar 26, 2024
1 parent a768ee4 commit d43e1ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tvm/tir/schedule/schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -3542,7 +3542,7 @@ def before_set_axis_separator(
.. code-block:: python
sch = tir.Schedule(before_set_axis_separator)
sch.set_axis_separators(sch.get_block("B"), buffer_index=0, buffer_index_type="write",
sch.set_axis_separators(sch.get_block("B"), buffer=("write", 0),
axis_separators=[1])
print(sch.mod["main"].script())
Expand Down

0 comments on commit d43e1ab

Please sign in to comment.