Skip to content

Commit

Permalink
doc: fix description of stop_fusion annotation (#8095)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael Stahl authored May 21, 2021
1 parent 720e7b1 commit 3b8715d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/tvm/relay/op/annotation/annotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def on_device(data, device):


def stop_fusion(data):
"""Annotate an expression to prevent it being fused with previous expressions.
"""Annotate an expression to prevent it being fused with following expressions.
Parameters
----------
Expand Down
2 changes: 1 addition & 1 deletion src/relay/op/annotation/annotation.cc
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ TVM_REGISTER_GLOBAL("relay.op.annotation._make.stop_fusion").set_body_typed([](E

RELAY_REGISTER_OP("annotation.stop_fusion")
.describe(
R"code(Annotate an expression to prevent it being fused with previous expressions.)code" TVM_ADD_FILELINE)
R"code(Annotate an expression to prevent it being fused with following expressions.)code" TVM_ADD_FILELINE)
.set_num_inputs(1)
.add_argument("data", "Tensor", "The input data.")
.add_type_rel("Identity", IdentityRel)
Expand Down

0 comments on commit 3b8715d

Please sign in to comment.