// // writeFb.hpp // MNNConverter // // Created by MNN on 2019/01/31. // Copyright © 2018, Alibaba Group Holding Limited // #ifndef WRITEFB_HPP #define WRITEFB_HPP #include #include "MNN_generated.h" #include "config.hpp" #include /** *@brief save MNN net to file *@param MNNModelFile save mnn model path *@param benchmarkModel benchmarkModel is true, then delete the weight of Convolution etc. *@param saveHalfFloat when saveHalfFloat is true, save weight in half float data type */ int writeFb(std::unique_ptr& netT, const modelConfig& config, std::unique_ptr&& metaOp); #endif // WRITEFB_HPP