From e30fe37b187fd1a08418dcfd663ab83c7776a02d Mon Sep 17 00:00:00 2001 From: Jerry Ge Date: Mon, 2 Dec 2024 14:35:49 -0800 Subject: [PATCH] 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 --- mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td b/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td index 9f57efff5d1fd..6528417943f31 100644 --- a/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td +++ b/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td @@ -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: @@ -2010,11 +2010,11 @@ def Tosa_CustomOp : Tosa_Op<"custom"> { StrAttr:$operator_name, StrAttr:$domain_name, StrAttr:$implementation_attrs, - Variadic:$inputs + Variadic:$input_list ); let results = (outs - Variadic:$outputs + Variadic:$output_list ); let assemblyFormat = "operands attr-dict `:` functional-type(operands, results)";