Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix minor error in doc
  • Loading branch information
gty111 authored Dec 27, 2023
commit c9d984b377bc421b86472d66b08a676b504ad78a
2 changes: 1 addition & 1 deletion docs/dev/how_to/relay_add_op.rst
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ the arguments to the call node, as below. In ``src/relay/op/tensor/transform.cc`
return Call(op, {data}, Attrs(attrs), {});
}

TVM_REGISTER_GLOBAL("relay.op._make.cumsum").set_body_typed(MakeCumprod);
TVM_REGISTER_GLOBAL("relay.op._make.cumprod").set_body_typed(MakeCumprod);

Where ``TVM_REGISTER_GLOBAL`` exposes the ``MakeCumsum`` and ``MakeCumprod`` functions
in Python via ``relay.op._make.cumsum(...)`` and ``relay.op._make.cumsum(...)``.
Expand Down