Skip to content

[MLIR][TOSA] Update CustomOp input and output names #118408

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 4, 2024
Merged
Changes from all commits
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
8 changes: 4 additions & 4 deletions mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
Original file line number Diff line number Diff line change
Expand Up @@ -1992,9 +1992,9 @@ def Tosa_CustomOp : Tosa_Op<"custom"> {
`implementation_attrs` is a string which is a backend and identifier specific
set of attributes to the custom operator.

`inputs` is the set of tensor inputs to the custom operator.
`input_list` is the set of tensor inputs to the custom operator.

`outputs is the list of tensors returned by the operator. The number of operators
`output_list` is the list of tensors returned by the operator. The number of operators
is backend specific.

Example:
Expand All @@ -2010,11 +2010,11 @@ def Tosa_CustomOp : Tosa_Op<"custom"> {
StrAttr:$operator_name,
StrAttr:$domain_name,
StrAttr:$implementation_attrs,
Variadic<Tosa_Tensor>:$inputs
Variadic<Tosa_Tensor>:$input_list
);

let results = (outs
Variadic<Tosa_Tensor>:$outputs
Variadic<Tosa_Tensor>:$output_list
);

let assemblyFormat = "operands attr-dict `:` functional-type(operands, results)";
Expand Down
Loading