2 #ifndef _NNDEPLOY_IR_DEFAULT_INTERPRET_H_
3 #define _NNDEPLOY_IR_DEFAULT_INTERPRET_H_
27 bool is_external =
false);
37 const std::vector<std::string> &model_value,
38 const std::vector<ValueDesc> &input = std::vector<ValueDesc>());
46 #ifdef ENABLE_NNDEPLOY_SAFETENSORS_CPP
47 std::vector<std::shared_ptr<safetensors::safetensors_t>> st_ptr_;
virtual ~DefaultInterpret()
虚析构函数
DefaultInterpret(ModelDesc *model_desc=nullptr, bool is_external=false)
DefaultInterpret类的默认构造函数
virtual base::Status interpret(const std::vector< std::string > &model_value, const std::vector< ValueDesc > &input=std::vector< ValueDesc >())
解释模型
#define NNDEPLOY_CC_API
api