1 // 2 // Common.hpp 3 // MNN 4 // 5 // Created by MNN on 2020/07/02. 6 // Copyright © 2018, Alibaba Group Holding Limited 7 // 8 9 #ifndef MNN_CONVERTER_COMMON_COMMON_HPP_ 10 #define MNN_CONVERTER_COMMON_COMMON_HPP_ 11 12 #include "MNN/HalideRuntime.h" 13 #include "MNN/expr/Expr.hpp" 14 15 #include "MNN_generated.h" 16 17 namespace MNN { 18 19 DataType convertDataType(halide_type_t type); 20 21 MNN_DATA_FORMAT convertFormat(Express::Dimensionformat format); 22 23 } // namespace MNN 24 25 #endif // MNN_CONVERTER_COMMON_COMMON_HPP_ 26