|
nndeploy C++ API
0.2.0
nndeploy C++ API
|
#include <param.h>
Public Member Functions | |
| base::Status | addDropdownParam (const std::string &dropdown_param, const std::vector< std::string > &dropdown_values) |
| base::Status | addIoParam (const std::string &io_param) |
| base::Status | addRequiredParam (const std::string &required_param) |
| base::Status | addUiParam (const std::string &ui_param) |
| base::Status | clearDropdownParams () |
| base::Status | clearIoParams () |
| base::Status | clearRequiredParams () |
| base::Status | clearUiParams () |
| virtual base::Status | deserialize (const std::string &json_str) |
| virtual base::Status | deserialize (rapidjson::Value &json) |
| virtual base::Status | get (const std::string &key, base::Any &any) |
| std::map< std::string, std::vector< std::string > > | getDropdownParams () |
| std::vector< std::string > | getIoParams () |
| std::vector< std::string > | getRequiredParams () |
| std::vector< std::string > | getUiParams () |
| virtual base::Status | loadFile (const std::string &path) |
| Param () | |
| base::Status | removeDropdownParam (const std::string &dropdown_param) |
| base::Status | removeIoParam (const std::string &io_param) |
| base::Status | removeRequiredParam (const std::string &required_param) |
| base::Status | removeUiParam (const std::string &ui_param) |
| virtual base::Status | saveFile (const std::string &path) |
| virtual std::string | serialize () |
| virtual base::Status | serialize (rapidjson::Value &json, rapidjson::Document::AllocatorType &allocator) |
| virtual base::Status | set (const std::string &key, base::Any &any) |
| base::Status | setDropdownParams (const std::map< std::string, std::vector< std::string >> &dropdown_params) |
| base::Status | setIoParams (const std::vector< std::string > &io_params) |
| base::Status | setRequiredParams (const std::vector< std::string > &required_params) |
| base::Status | setUiParams (const std::vector< std::string > &ui_params) |
| virtual | ~Param () |
Public Attributes | |
| std::map< std::string, std::vector< std::string > > | dropdown_params_ |
| std::vector< std::string > | io_params_ |
| std::vector< std::string > | required_params_ |
| std::vector< std::string > | ui_params_ |
| nndeploy::base::Param::Param | ( | ) |
|
virtual |
| base::Status nndeploy::base::Param::addDropdownParam | ( | const std::string & | dropdown_param, |
| const std::vector< std::string > & | dropdown_values | ||
| ) |
| base::Status nndeploy::base::Param::addIoParam | ( | const std::string & | io_param | ) |
| base::Status nndeploy::base::Param::addRequiredParam | ( | const std::string & | required_param | ) |
| base::Status nndeploy::base::Param::addUiParam | ( | const std::string & | ui_param | ) |
| base::Status nndeploy::base::Param::clearDropdownParams | ( | ) |
| base::Status nndeploy::base::Param::clearIoParams | ( | ) |
| base::Status nndeploy::base::Param::clearRequiredParams | ( | ) |
| base::Status nndeploy::base::Param::clearUiParams | ( | ) |
|
virtual |
|
virtual |
Reimplemented in nndeploy::tokenizer::TokenizerText, nndeploy::tokenizer::TokenizerPraram, nndeploy::preprocess::CvtResizeCropNormTransParam, nndeploy::preprocess::CvtResizePadNormTransParam, nndeploy::preprocess::CvtNormTransParam, nndeploy::preprocess::WarpAffineCvtNormTransParam, nndeploy::preprocess::PaddingParam, nndeploy::preprocess::ResizeParam, nndeploy::preprocess::DynamicShapeParam, nndeploy::preprocess::TransposeParam, nndeploy::preprocess::NormlizeParam, nndeploy::preprocess::CropParam, nndeploy::preprocess::CvtcolorParam, nndeploy::preprocess::ConvertToParam, nndeploy::ocr::RecognizerPreProcessParam, nndeploy::ocr::OcrText, nndeploy::ocr::DetectorPreProcessParam, nndeploy::ocr::ClassifierPreProcessParam, nndeploy::llm::SampleParam, nndeploy::llm::EmbeddingParam, nndeploy::llm::DefaultLlmInferParam, nndeploy::stable_diffusion::SchedulerParam, nndeploy::stable_diffusion::DDIMSchedulerParam, nndeploy::qwen::DecodeEmbeddingParam, nndeploy::qwen::PrefillEmbeddingParam, nndeploy::qwen::PromptParam, nndeploy::preprocess::CvtResizeNormTransParam, nndeploy::ocr::RecognizerPostParam, nndeploy::ocr::PrintOcrNodeParam, nndeploy::ocr::DetectorPostParam, nndeploy::ocr::ClassifierPostParam, nndeploy::llm::PromptParam, nndeploy::classification::ClassificationPostParam, nndeploy::ir::ConstantOfShapeParam, nndeploy::ir::ShapeParam, nndeploy::ir::ReduceSumParam, nndeploy::ir::ReduceMinParam, nndeploy::ir::ReduceMaxParam, nndeploy::ir::ReduceMeanParam, nndeploy::ir::GatherParam, nndeploy::ir::UnsqueezeParam, nndeploy::ir::CastParam, nndeploy::ir::AveragePoolParam, nndeploy::ir::QLinearConvParam, nndeploy::ir::DequantizeLinearParam, nndeploy::ir::QuantizeLinearParam, nndeploy::ir::GemmParam, nndeploy::ir::EmbeddingParam, nndeploy::ir::FlattenParam, nndeploy::ir::LayerNormalizationParam, nndeploy::ir::RMSNormParam, nndeploy::ir::TransposeParam, nndeploy::ir::SplitParam, nndeploy::ir::SoftmaxParam, nndeploy::ir::ResizeParam, nndeploy::ir::ReshapeParam, nndeploy::ir::MaxPoolParam, nndeploy::ir::ConvParam, nndeploy::ir::MatMulParam, nndeploy::ir::ConcatParam, nndeploy::ir::BatchNormalizationParam, and nndeploy::inference::InferenceParam.
|
virtual |
Reimplemented in nndeploy::inference::InferenceParam.
| std::map<std::string, std::vector<std::string> > nndeploy::base::Param::getDropdownParams | ( | ) |
| std::vector<std::string> nndeploy::base::Param::getIoParams | ( | ) |
| std::vector<std::string> nndeploy::base::Param::getRequiredParams | ( | ) |
| std::vector<std::string> nndeploy::base::Param::getUiParams | ( | ) |
|
virtual |
| base::Status nndeploy::base::Param::removeDropdownParam | ( | const std::string & | dropdown_param | ) |
| base::Status nndeploy::base::Param::removeIoParam | ( | const std::string & | io_param | ) |
| base::Status nndeploy::base::Param::removeRequiredParam | ( | const std::string & | required_param | ) |
| base::Status nndeploy::base::Param::removeUiParam | ( | const std::string & | ui_param | ) |
|
virtual |
|
virtual |
|
virtual |
Reimplemented in nndeploy::tokenizer::TokenizerText, nndeploy::tokenizer::TokenizerPraram, nndeploy::preprocess::CvtResizeCropNormTransParam, nndeploy::preprocess::CvtResizePadNormTransParam, nndeploy::preprocess::CvtNormTransParam, nndeploy::preprocess::WarpAffineCvtNormTransParam, nndeploy::preprocess::PaddingParam, nndeploy::preprocess::ResizeParam, nndeploy::preprocess::DynamicShapeParam, nndeploy::preprocess::TransposeParam, nndeploy::preprocess::NormlizeParam, nndeploy::preprocess::CropParam, nndeploy::preprocess::CvtcolorParam, nndeploy::preprocess::ConvertToParam, nndeploy::ocr::RecognizerPreProcessParam, nndeploy::ocr::OcrText, nndeploy::ocr::DetectorPreProcessParam, nndeploy::ocr::ClassifierPreProcessParam, nndeploy::llm::SampleParam, nndeploy::llm::EmbeddingParam, nndeploy::llm::DefaultLlmInferParam, nndeploy::stable_diffusion::SchedulerParam, nndeploy::stable_diffusion::DDIMSchedulerParam, nndeploy::qwen::DecodeEmbeddingParam, nndeploy::qwen::PrefillEmbeddingParam, nndeploy::qwen::PromptParam, nndeploy::preprocess::CvtResizeNormTransParam, nndeploy::ocr::RecognizerPostParam, nndeploy::ocr::PrintOcrNodeParam, nndeploy::ocr::DetectorPostParam, nndeploy::ocr::ClassifierPostParam, nndeploy::llm::PromptParam, nndeploy::classification::ClassificationPostParam, nndeploy::ir::ConstantOfShapeParam, nndeploy::ir::ShapeParam, nndeploy::ir::ReduceSumParam, nndeploy::ir::ReduceMinParam, nndeploy::ir::ReduceMaxParam, nndeploy::ir::ReduceMeanParam, nndeploy::ir::GatherParam, nndeploy::ir::UnsqueezeParam, nndeploy::ir::CastParam, nndeploy::ir::AveragePoolParam, nndeploy::ir::QLinearConvParam, nndeploy::ir::DequantizeLinearParam, nndeploy::ir::QuantizeLinearParam, nndeploy::ir::GemmParam, nndeploy::ir::EmbeddingParam, nndeploy::ir::FlattenParam, nndeploy::ir::LayerNormalizationParam, nndeploy::ir::RMSNormParam, nndeploy::ir::TransposeParam, nndeploy::ir::SplitParam, nndeploy::ir::SoftmaxParam, nndeploy::ir::ResizeParam, nndeploy::ir::ReshapeParam, nndeploy::ir::MaxPoolParam, nndeploy::ir::ConvParam, nndeploy::ir::MatMulParam, nndeploy::ir::ConcatParam, nndeploy::ir::BatchNormalizationParam, and nndeploy::inference::InferenceParam.
|
virtual |
Reimplemented in nndeploy::inference::InferenceParam.
| base::Status nndeploy::base::Param::setDropdownParams | ( | const std::map< std::string, std::vector< std::string >> & | dropdown_params | ) |
| base::Status nndeploy::base::Param::setIoParams | ( | const std::vector< std::string > & | io_params | ) |
| base::Status nndeploy::base::Param::setRequiredParams | ( | const std::vector< std::string > & | required_params | ) |
| base::Status nndeploy::base::Param::setUiParams | ( | const std::vector< std::string > & | ui_params | ) |
| std::map<std::string, std::vector<std::string> > nndeploy::base::Param::dropdown_params_ |
| std::vector<std::string> nndeploy::base::Param::required_params_ |