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 #include "tensorflow/lite/micro/all_ops_resolver.h" 17 18 #include "tensorflow/lite/micro/kernels/micro_ops.h" 19 20 namespace tflite { 21 AllOpsResolver()22AllOpsResolver::AllOpsResolver() { 23 // Please keep this list of Builtin Operators in alphabetical order. 24 AddAbs(); 25 AddAdd(); 26 AddAddN(); 27 AddArgMax(); 28 AddArgMin(); 29 AddAveragePool2D(); 30 AddBatchToSpaceNd(); 31 AddCeil(); 32 AddConcatenation(); 33 AddConv2D(); 34 AddCos(); 35 AddCumSum(); 36 AddDepthToSpace(); 37 AddDepthwiseConv2D(); 38 AddDequantize(); 39 AddDetectionPostprocess(); 40 AddElu(); 41 AddEqual(); 42 AddEthosU(); 43 AddExpandDims(); 44 AddFloor(); 45 AddFloorDiv(); 46 AddFloorMod(); 47 AddFullyConnected(); 48 AddGreater(); 49 AddGreaterEqual(); 50 AddHardSwish(); 51 AddL2Normalization(); 52 AddL2Pool2D(); 53 AddLeakyRelu(); 54 AddLess(); 55 AddLessEqual(); 56 AddLog(); 57 AddLogicalAnd(); 58 AddLogicalNot(); 59 AddLogicalOr(); 60 AddLogistic(); 61 AddMaxPool2D(); 62 AddMaximum(); 63 AddMean(); 64 AddMinimum(); 65 AddMul(); 66 AddNeg(); 67 AddNotEqual(); 68 AddPack(); 69 AddPad(); 70 AddPadV2(); 71 AddPrelu(); 72 AddQuantize(); 73 AddReduceMax(); 74 AddRelu(); 75 AddRelu6(); 76 AddReshape(); 77 AddResizeBilinear(); 78 AddResizeNearestNeighbor(); 79 AddRound(); 80 AddRsqrt(); 81 AddShape(); 82 AddSin(); 83 AddSoftmax(); 84 AddSpaceToBatchNd(); 85 AddSpaceToDepth(); 86 AddSplit(); 87 AddSplitV(); 88 AddSqrt(); 89 AddSquare(); 90 AddSqueeze(); 91 AddStridedSlice(); 92 AddSub(); 93 AddSvdf(); 94 AddTanh(); 95 AddTransposeConv(); 96 AddTranspose(); 97 AddUnpack(); 98 } 99 100 } // namespace tflite 101