Program Listing for File converter_context.h
↰ Return to documentation for file (include/converter_context.h
)
#ifndef MINDSPORE_LITE_INCLUDE_REGISTRY_PARSER_CONTEXT_H_
#define MINDSPORE_LITE_INCLUDE_REGISTRY_PARSER_CONTEXT_H_
#include <map>
#include <string>
#include "include/lite_utils.h"
namespace mindspore {
namespace converter {
enum FmkType : int {
kFmkTypeTf = 0,
kFmkTypeCaffe = 1,
kFmkTypeOnnx = 2,
kFmkTypeMs = 3,
kFmkTypeTflite = 4,
};
struct ConverterParameters {
FmkType fmk;
std::string model_file;
std::string weight_file;
std::map<std::string, std::string> attrs;
};
} // namespace converter
} // namespace mindspore
#endif // MINDSPORE_LITE_INCLUDE_REGISTRY_PARSER_CONTEXT_H_