1 /* Copyright 2018 The TensorFlow Authors. All Rights Reserved. 2 3 Licensed under the Apache License, Version 2.0 (the "License"); 4 you may not use this file except in compliance with the License. 5 You may obtain a copy of the License at 6 7 http://www.apache.org/licenses/LICENSE-2.0 8 9 Unless required by applicable law or agreed to in writing, software 10 distributed under the License is distributed on an "AS IS" BASIS, 11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 See the License for the specific language governing permissions and 13 limitations under the License. 14 ==============================================================================*/ 15 16 #ifndef TENSORFLOW_LITE_BUILTIN_OPS_H_ 17 #define TENSORFLOW_LITE_BUILTIN_OPS_H_ 18 19 // DO NOT EDIT MANUALLY: This file is automatically generated by 20 // `schema/builtin_ops_header/generator.cc`. 21 22 #ifdef __cplusplus 23 extern "C" { 24 #endif // __cplusplus 25 26 // The enum for builtin operators. 27 // Note: CUSTOM, DELEGATE, and PLACEHOLDER_FOR_GREATER_OP_CODES are 3 special 28 // ops which are not real built-in ops. 29 typedef enum { 30 kTfLiteBuiltinAdd = 0, 31 kTfLiteBuiltinAveragePool2d = 1, 32 kTfLiteBuiltinConcatenation = 2, 33 kTfLiteBuiltinConv2d = 3, 34 kTfLiteBuiltinDepthwiseConv2d = 4, 35 kTfLiteBuiltinDepthToSpace = 5, 36 kTfLiteBuiltinDequantize = 6, 37 kTfLiteBuiltinEmbeddingLookup = 7, 38 kTfLiteBuiltinFloor = 8, 39 kTfLiteBuiltinFullyConnected = 9, 40 kTfLiteBuiltinHashtableLookup = 10, 41 kTfLiteBuiltinL2Normalization = 11, 42 kTfLiteBuiltinL2Pool2d = 12, 43 kTfLiteBuiltinLocalResponseNormalization = 13, 44 kTfLiteBuiltinLogistic = 14, 45 kTfLiteBuiltinLshProjection = 15, 46 kTfLiteBuiltinLstm = 16, 47 kTfLiteBuiltinMaxPool2d = 17, 48 kTfLiteBuiltinMul = 18, 49 kTfLiteBuiltinRelu = 19, 50 kTfLiteBuiltinReluN1To1 = 20, 51 kTfLiteBuiltinRelu6 = 21, 52 kTfLiteBuiltinReshape = 22, 53 kTfLiteBuiltinResizeBilinear = 23, 54 kTfLiteBuiltinRnn = 24, 55 kTfLiteBuiltinSoftmax = 25, 56 kTfLiteBuiltinSpaceToDepth = 26, 57 kTfLiteBuiltinSvdf = 27, 58 kTfLiteBuiltinTanh = 28, 59 kTfLiteBuiltinConcatEmbeddings = 29, 60 kTfLiteBuiltinSkipGram = 30, 61 kTfLiteBuiltinCall = 31, 62 kTfLiteBuiltinCustom = 32, 63 kTfLiteBuiltinEmbeddingLookupSparse = 33, 64 kTfLiteBuiltinPad = 34, 65 kTfLiteBuiltinUnidirectionalSequenceRnn = 35, 66 kTfLiteBuiltinGather = 36, 67 kTfLiteBuiltinBatchToSpaceNd = 37, 68 kTfLiteBuiltinSpaceToBatchNd = 38, 69 kTfLiteBuiltinTranspose = 39, 70 kTfLiteBuiltinMean = 40, 71 kTfLiteBuiltinSub = 41, 72 kTfLiteBuiltinDiv = 42, 73 kTfLiteBuiltinSqueeze = 43, 74 kTfLiteBuiltinUnidirectionalSequenceLstm = 44, 75 kTfLiteBuiltinStridedSlice = 45, 76 kTfLiteBuiltinBidirectionalSequenceRnn = 46, 77 kTfLiteBuiltinExp = 47, 78 kTfLiteBuiltinTopkV2 = 48, 79 kTfLiteBuiltinSplit = 49, 80 kTfLiteBuiltinLogSoftmax = 50, 81 kTfLiteBuiltinDelegate = 51, 82 kTfLiteBuiltinBidirectionalSequenceLstm = 52, 83 kTfLiteBuiltinCast = 53, 84 kTfLiteBuiltinPrelu = 54, 85 kTfLiteBuiltinMaximum = 55, 86 kTfLiteBuiltinArgMax = 56, 87 kTfLiteBuiltinMinimum = 57, 88 kTfLiteBuiltinLess = 58, 89 kTfLiteBuiltinNeg = 59, 90 kTfLiteBuiltinPadv2 = 60, 91 kTfLiteBuiltinGreater = 61, 92 kTfLiteBuiltinGreaterEqual = 62, 93 kTfLiteBuiltinLessEqual = 63, 94 kTfLiteBuiltinSelect = 64, 95 kTfLiteBuiltinSlice = 65, 96 kTfLiteBuiltinSin = 66, 97 kTfLiteBuiltinTransposeConv = 67, 98 kTfLiteBuiltinSparseToDense = 68, 99 kTfLiteBuiltinTile = 69, 100 kTfLiteBuiltinExpandDims = 70, 101 kTfLiteBuiltinEqual = 71, 102 kTfLiteBuiltinNotEqual = 72, 103 kTfLiteBuiltinLog = 73, 104 kTfLiteBuiltinSum = 74, 105 kTfLiteBuiltinSqrt = 75, 106 kTfLiteBuiltinRsqrt = 76, 107 kTfLiteBuiltinShape = 77, 108 kTfLiteBuiltinPow = 78, 109 kTfLiteBuiltinArgMin = 79, 110 kTfLiteBuiltinFakeQuant = 80, 111 kTfLiteBuiltinReduceProd = 81, 112 kTfLiteBuiltinReduceMax = 82, 113 kTfLiteBuiltinPack = 83, 114 kTfLiteBuiltinLogicalOr = 84, 115 kTfLiteBuiltinOneHot = 85, 116 kTfLiteBuiltinLogicalAnd = 86, 117 kTfLiteBuiltinLogicalNot = 87, 118 kTfLiteBuiltinUnpack = 88, 119 kTfLiteBuiltinReduceMin = 89, 120 kTfLiteBuiltinFloorDiv = 90, 121 kTfLiteBuiltinReduceAny = 91, 122 kTfLiteBuiltinSquare = 92, 123 kTfLiteBuiltinZerosLike = 93, 124 kTfLiteBuiltinFill = 94, 125 kTfLiteBuiltinFloorMod = 95, 126 kTfLiteBuiltinRange = 96, 127 kTfLiteBuiltinResizeNearestNeighbor = 97, 128 kTfLiteBuiltinLeakyRelu = 98, 129 kTfLiteBuiltinSquaredDifference = 99, 130 kTfLiteBuiltinMirrorPad = 100, 131 kTfLiteBuiltinAbs = 101, 132 kTfLiteBuiltinSplitV = 102, 133 kTfLiteBuiltinUnique = 103, 134 kTfLiteBuiltinCeil = 104, 135 kTfLiteBuiltinReverseV2 = 105, 136 kTfLiteBuiltinAddN = 106, 137 kTfLiteBuiltinGatherNd = 107, 138 kTfLiteBuiltinCos = 108, 139 kTfLiteBuiltinWhere = 109, 140 kTfLiteBuiltinRank = 110, 141 kTfLiteBuiltinElu = 111, 142 kTfLiteBuiltinReverseSequence = 112, 143 kTfLiteBuiltinMatrixDiag = 113, 144 kTfLiteBuiltinQuantize = 114, 145 kTfLiteBuiltinMatrixSetDiag = 115, 146 kTfLiteBuiltinRound = 116, 147 kTfLiteBuiltinHardSwish = 117, 148 kTfLiteBuiltinIf = 118, 149 kTfLiteBuiltinWhile = 119, 150 kTfLiteBuiltinNonMaxSuppressionV4 = 120, 151 kTfLiteBuiltinNonMaxSuppressionV5 = 121, 152 kTfLiteBuiltinScatterNd = 122, 153 kTfLiteBuiltinSelectV2 = 123, 154 kTfLiteBuiltinDensify = 124, 155 kTfLiteBuiltinSegmentSum = 125, 156 kTfLiteBuiltinBatchMatmul = 126, 157 kTfLiteBuiltinPlaceholderForGreaterOpCodes = 127, 158 kTfLiteBuiltinCumsum = 128, 159 kTfLiteBuiltinCallOnce = 129, 160 kTfLiteBuiltinBroadcastTo = 130, 161 kTfLiteBuiltinRfft2d = 131, 162 kTfLiteBuiltinConv3d = 132, 163 kTfLiteBuiltinImag = 133, 164 kTfLiteBuiltinReal = 134, 165 kTfLiteBuiltinComplexAbs = 135, 166 } TfLiteBuiltinOperator; 167 168 #ifdef __cplusplus 169 } // extern "C" 170 #endif // __cplusplus 171 #endif // TENSORFLOW_LITE_BUILTIN_OPS_H_ 172