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 and DELEGATE are 2 special ops which are not real built-in ops. 28 typedef enum { 29 kTfLiteBuiltinAdd = 0, 30 kTfLiteBuiltinAveragePool2d = 1, 31 kTfLiteBuiltinConcatenation = 2, 32 kTfLiteBuiltinConv2d = 3, 33 kTfLiteBuiltinDepthwiseConv2d = 4, 34 kTfLiteBuiltinDequantize = 6, 35 kTfLiteBuiltinEmbeddingLookup = 7, 36 kTfLiteBuiltinFloor = 8, 37 kTfLiteBuiltinFullyConnected = 9, 38 kTfLiteBuiltinHashtableLookup = 10, 39 kTfLiteBuiltinL2Normalization = 11, 40 kTfLiteBuiltinL2Pool2d = 12, 41 kTfLiteBuiltinLocalResponseNormalization = 13, 42 kTfLiteBuiltinLogistic = 14, 43 kTfLiteBuiltinLshProjection = 15, 44 kTfLiteBuiltinLstm = 16, 45 kTfLiteBuiltinMaxPool2d = 17, 46 kTfLiteBuiltinMul = 18, 47 kTfLiteBuiltinRelu = 19, 48 kTfLiteBuiltinReluN1To1 = 20, 49 kTfLiteBuiltinRelu6 = 21, 50 kTfLiteBuiltinReshape = 22, 51 kTfLiteBuiltinResizeBilinear = 23, 52 kTfLiteBuiltinRnn = 24, 53 kTfLiteBuiltinSoftmax = 25, 54 kTfLiteBuiltinSpaceToDepth = 26, 55 kTfLiteBuiltinSvdf = 27, 56 kTfLiteBuiltinTanh = 28, 57 kTfLiteBuiltinConcatEmbeddings = 29, 58 kTfLiteBuiltinSkipGram = 30, 59 kTfLiteBuiltinCall = 31, 60 kTfLiteBuiltinCustom = 32, 61 kTfLiteBuiltinEmbeddingLookupSparse = 33, 62 kTfLiteBuiltinPad = 34, 63 kTfLiteBuiltinUnidirectionalSequenceRnn = 35, 64 kTfLiteBuiltinGather = 36, 65 kTfLiteBuiltinBatchToSpaceNd = 37, 66 kTfLiteBuiltinSpaceToBatchNd = 38, 67 kTfLiteBuiltinTranspose = 39, 68 kTfLiteBuiltinMean = 40, 69 kTfLiteBuiltinSub = 41, 70 kTfLiteBuiltinDiv = 42, 71 kTfLiteBuiltinSqueeze = 43, 72 kTfLiteBuiltinUnidirectionalSequenceLstm = 44, 73 kTfLiteBuiltinStridedSlice = 45, 74 kTfLiteBuiltinBidirectionalSequenceRnn = 46, 75 kTfLiteBuiltinExp = 47, 76 kTfLiteBuiltinTopkV2 = 48, 77 kTfLiteBuiltinSplit = 49, 78 kTfLiteBuiltinLogSoftmax = 50, 79 kTfLiteBuiltinDelegate = 51, 80 kTfLiteBuiltinBidirectionalSequenceLstm = 52, 81 kTfLiteBuiltinCast = 53, 82 kTfLiteBuiltinPrelu = 54, 83 kTfLiteBuiltinMaximum = 55, 84 kTfLiteBuiltinArgMax = 56, 85 kTfLiteBuiltinMinimum = 57, 86 kTfLiteBuiltinLess = 58, 87 kTfLiteBuiltinNeg = 59, 88 kTfLiteBuiltinPadv2 = 60, 89 kTfLiteBuiltinGreater = 61, 90 kTfLiteBuiltinGreaterEqual = 62, 91 kTfLiteBuiltinLessEqual = 63, 92 kTfLiteBuiltinSelect = 64, 93 kTfLiteBuiltinSlice = 65, 94 kTfLiteBuiltinSin = 66, 95 kTfLiteBuiltinTransposeConv = 67, 96 kTfLiteBuiltinSparseToDense = 68, 97 kTfLiteBuiltinTile = 69, 98 kTfLiteBuiltinExpandDims = 70, 99 kTfLiteBuiltinEqual = 71, 100 kTfLiteBuiltinNotEqual = 72, 101 kTfLiteBuiltinLog = 73, 102 kTfLiteBuiltinSum = 74, 103 kTfLiteBuiltinSqrt = 75, 104 kTfLiteBuiltinRsqrt = 76, 105 kTfLiteBuiltinShape = 77, 106 kTfLiteBuiltinPow = 78, 107 kTfLiteBuiltinArgMin = 79, 108 kTfLiteBuiltinFakeQuant = 80, 109 kTfLiteBuiltinReduceProd = 81, 110 kTfLiteBuiltinReduceMax = 82, 111 kTfLiteBuiltinPack = 83, 112 kTfLiteBuiltinLogicalOr = 84, 113 kTfLiteBuiltinOneHot = 85, 114 kTfLiteBuiltinLogicalAnd = 86, 115 kTfLiteBuiltinLogicalNot = 87, 116 kTfLiteBuiltinUnpack = 88, 117 kTfLiteBuiltinReduceMin = 89, 118 kTfLiteBuiltinFloorDiv = 90, 119 kTfLiteBuiltinReduceAny = 91, 120 kTfLiteBuiltinSquare = 92, 121 kTfLiteBuiltinZerosLike = 93, 122 kTfLiteBuiltinFill = 94, 123 kTfLiteBuiltinFloorMod = 95, 124 kTfLiteBuiltinRange = 96, 125 kTfLiteBuiltinResizeNearestNeighbor = 97, 126 kTfLiteBuiltinLeakyRelu = 98, 127 kTfLiteBuiltinSquaredDifference = 99, 128 kTfLiteBuiltinMirrorPad = 100, 129 kTfLiteBuiltinAbs = 101, 130 kTfLiteBuiltinSplitV = 102, 131 kTfLiteBuiltinUnique = 103, 132 kTfLiteBuiltinCeil = 104, 133 kTfLiteBuiltinReverseV2 = 105, 134 kTfLiteBuiltinAddN = 106, 135 kTfLiteBuiltinGatherNd = 107, 136 kTfLiteBuiltinCos = 108, 137 kTfLiteBuiltinWhere = 109, 138 kTfLiteBuiltinRank = 110, 139 kTfLiteBuiltinElu = 111, 140 kTfLiteBuiltinReverseSequence = 112, 141 } TfLiteBuiltinOperator; 142 143 #ifdef __cplusplus 144 } // extern "C" 145 #endif // __cplusplus 146 #endif // TENSORFLOW_LITE_BUILTIN_OPS_H_ 147