1 /** 2 * @file HaasMLDef.h 3 * @author HaasAI Group 4 * @version V1.0.0 5 * @date 2021-01-10 6 * @license GNU General Public License (GPL) 7 * @brief 8 * @attention 9 * This file is part of HaasAI. \n 10 * This program is free software; you can redistribute it and/or modify \n 11 * it under the terms of the GNU General Public License version 3 as \n 12 * published by the Free Software Foundation. \n 13 * You should have received a copy of the GNU General Public License \n 14 * along with HaasAI. If not, see <http://www.gnu.org/licenses/>. \n 15 * Unless required by applicable law or agreed to in writing, software \n 16 * distributed under the License is distributed on an "AS IS" BASIS, \n 17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. \n 18 * See the License for the specific language governing permissions and \n 19 * limitations under the License. \n 20 * \n 21 * @htmlonly 22 * <span style="font-weight: bold">History</span> 23 * @endhtmlonly 24 * Version|Author|Date|Describe 25 * ------|----|------|-------- 26 * V1.0|HaasAI Group|2021-01-10|Create File 27 * <h2><center>©COPYRIGHT 2021 WELLCASA All Rights Reserved.</center></h2> 28 */ 29 #ifndef HAAS_ML_DEF_H 30 #define HAAS_ML_DEF_H 31 32 /**@enum MLEngineType_t 33 * @brief ML Engine Type \n 34 */ 35 typedef enum { 36 ML_ENGINE_NONE = -1, 37 ML_ENGINE_MNN = 0, 38 ML_ENGINE_CLOUD = 1, 39 ML_ENGINE_ODLA = 2, 40 ML_ENGINE_MAX = 30, 41 } MLEngineType_t; 42 #endif 43