Files
2026-07-13 13:33:03 +08:00

26 lines
654 B
C++

//
// caffeConverter.hpp
// MNNConverter
//
// Created by MNN on 2019/01/31.
// Copyright © 2018, Alibaba Group Holding Limited
//
#ifndef CAFFECONVERTER_HPP
#define CAFFECONVERTER_HPP
#include <MNN/MNNDefine.h>
#include "MNN_generated.h"
/**
* @brief convert caffe model(prototxt and caffemodel) to MNN model
* @param prototxtFile prototxt file name
* @param modelFile caffemodel file name
* @param bizCode(not used, always is MNN)
* @param MNN net
*/
int caffe2MNNNet(const std::string prototxtFile, const std::string modelFile, const std::string bizCode,
std::unique_ptr<MNN::NetT>& netT);
#endif // CAFFECONVERTER_HPP