// Copyright (c) 2023-2024, ARM Limited.
//
//    Licensed under the Apache License, Version 2.0 with LLVM Exceptions
//    (the "License"); you may not use this file except in compliance with
//    the License. You may obtain a copy of the License at
//
//         https://llvm.org/LICENSE.txt
//
//    Unless required by applicable law or agreed to in writing, software
//    distributed under the License is distributed on an "AS IS" BASIS,
//    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//    See the License for the specific language governing permissions and
//    limitations under the License.

/*
  Syntax:
  DEF_SCHEMA_OPERATOR(SCHEMA_OP_NAME)

  Description:
    SCHEMA_OP_NAME: the schema operator names, must match Op names in schema/tosa.fbs in serialization_lib repo
*/

/* schema operators */
DEF_SCHEMA_OPERATOR(ARGMAX)
DEF_SCHEMA_OPERATOR(AVG_POOL2D)
DEF_SCHEMA_OPERATOR(CONV2D)
DEF_SCHEMA_OPERATOR(CONV3D)
DEF_SCHEMA_OPERATOR(DEPTHWISE_CONV2D)
DEF_SCHEMA_OPERATOR(FULLY_CONNECTED)
DEF_SCHEMA_OPERATOR(MATMUL)
DEF_SCHEMA_OPERATOR(MAX_POOL2D)
DEF_SCHEMA_OPERATOR(TRANSPOSE_CONV2D)
DEF_SCHEMA_OPERATOR(CLAMP)
DEF_SCHEMA_OPERATOR(RESERVED)
DEF_SCHEMA_OPERATOR(ERF)
DEF_SCHEMA_OPERATOR(SIGMOID)
DEF_SCHEMA_OPERATOR(TANH)
DEF_SCHEMA_OPERATOR(ADD)
DEF_SCHEMA_OPERATOR(ARITHMETIC_RIGHT_SHIFT)
DEF_SCHEMA_OPERATOR(BITWISE_AND)
DEF_SCHEMA_OPERATOR(BITWISE_OR)
DEF_SCHEMA_OPERATOR(BITWISE_XOR)
DEF_SCHEMA_OPERATOR(INTDIV)
DEF_SCHEMA_OPERATOR(LOGICAL_AND)
DEF_SCHEMA_OPERATOR(LOGICAL_LEFT_SHIFT)
DEF_SCHEMA_OPERATOR(LOGICAL_RIGHT_SHIFT)
DEF_SCHEMA_OPERATOR(LOGICAL_OR)
DEF_SCHEMA_OPERATOR(LOGICAL_XOR)
DEF_SCHEMA_OPERATOR(MAXIMUM)
DEF_SCHEMA_OPERATOR(MINIMUM)
DEF_SCHEMA_OPERATOR(MUL)
DEF_SCHEMA_OPERATOR(POW)
DEF_SCHEMA_OPERATOR(SUB)
DEF_SCHEMA_OPERATOR(TABLE)
DEF_SCHEMA_OPERATOR(ABS)
DEF_SCHEMA_OPERATOR(BITWISE_NOT)
DEF_SCHEMA_OPERATOR(CEIL)
DEF_SCHEMA_OPERATOR(CLZ)
DEF_SCHEMA_OPERATOR(EXP)
DEF_SCHEMA_OPERATOR(FLOOR)
DEF_SCHEMA_OPERATOR(LOG)
DEF_SCHEMA_OPERATOR(LOGICAL_NOT)
DEF_SCHEMA_OPERATOR(NEGATE)
DEF_SCHEMA_OPERATOR(RECIPROCAL)
DEF_SCHEMA_OPERATOR(RSQRT)
DEF_SCHEMA_OPERATOR(SELECT)
DEF_SCHEMA_OPERATOR(EQUAL)
DEF_SCHEMA_OPERATOR(GREATER)
DEF_SCHEMA_OPERATOR(GREATER_EQUAL)
DEF_SCHEMA_OPERATOR(REDUCE_ANY)
DEF_SCHEMA_OPERATOR(REDUCE_ALL)
DEF_SCHEMA_OPERATOR(REDUCE_MAX)
DEF_SCHEMA_OPERATOR(REDUCE_MIN)
DEF_SCHEMA_OPERATOR(REDUCE_PRODUCT)
DEF_SCHEMA_OPERATOR(REDUCE_SUM)
DEF_SCHEMA_OPERATOR(CONCAT)
DEF_SCHEMA_OPERATOR(PAD)
DEF_SCHEMA_OPERATOR(DIM)
DEF_SCHEMA_OPERATOR(RESHAPE)
DEF_SCHEMA_OPERATOR(REVERSE)
DEF_SCHEMA_OPERATOR(SLICE)
DEF_SCHEMA_OPERATOR(TILE)
DEF_SCHEMA_OPERATOR(TRANSPOSE)
DEF_SCHEMA_OPERATOR(GATHER)
DEF_SCHEMA_OPERATOR(SCATTER)
DEF_SCHEMA_OPERATOR(RESIZE)
DEF_SCHEMA_OPERATOR(CAST)
DEF_SCHEMA_OPERATOR(RESCALE)
DEF_SCHEMA_OPERATOR(CONST)
DEF_SCHEMA_OPERATOR(IDENTITY)
DEF_SCHEMA_OPERATOR(CUSTOM)
DEF_SCHEMA_OPERATOR(COND_IF)
DEF_SCHEMA_OPERATOR(WHILE_LOOP)
DEF_SCHEMA_OPERATOR(FFT2D)
DEF_SCHEMA_OPERATOR(RFFT2D)
DEF_SCHEMA_OPERATOR(CONST_SHAPE)
DEF_SCHEMA_OPERATOR(CONCAT_SHAPE)
DEF_SCHEMA_OPERATOR(ADD_SHAPE)
DEF_SCHEMA_OPERATOR(SUB_SHAPE)
DEF_SCHEMA_OPERATOR(MUL_SHAPE)
DEF_SCHEMA_OPERATOR(DIV_SHAPE)
