Skip to content

Commit e30fe37

Browse files
committed
Update CustomOp's dialect input and output names
Update input name from input to input_list Update output name from outputs to output_list Signed-off-by: Jerry Ge <[email protected]>
1 parent b8daa45 commit e30fe37

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1992,9 +1992,9 @@ def Tosa_CustomOp : Tosa_Op<"custom"> {
19921992
`implementation_attrs` is a string which is a backend and identifier specific
19931993
set of attributes to the custom operator.
19941994

1995-
`inputs` is the set of tensor inputs to the custom operator.
1995+
`input_list` is the set of tensor inputs to the custom operator.
19961996

1997-
`outputs is the list of tensors returned by the operator. The number of operators
1997+
`output_list` is the list of tensors returned by the operator. The number of operators
19981998
is backend specific.
19991999

20002000
Example:
@@ -2010,11 +2010,11 @@ def Tosa_CustomOp : Tosa_Op<"custom"> {
20102010
StrAttr:$operator_name,
20112011
StrAttr:$domain_name,
20122012
StrAttr:$implementation_attrs,
2013-
Variadic<Tosa_Tensor>:$inputs
2013+
Variadic<Tosa_Tensor>:$input_list
20142014
);
20152015

20162016
let results = (outs
2017-
Variadic<Tosa_Tensor>:$outputs
2017+
Variadic<Tosa_Tensor>:$output_list
20182018
);
20192019

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

0 commit comments

Comments
 (0)