|
Apollo 11.0
自动驾驶开放平台
|
#include <onnx_single_batch_infer.h>
Public 成员函数 | |
| SingleBatchInference (const std::string &model_file, const float score_threshold, const std::vector< std::string > &outputs, const std::vector< std::string > &inputs) | |
| SingleBatchInference (const std::string &model_file, const std::vector< std::string > &outputs, const std::vector< std::string > &inputs) | |
| virtual | ~SingleBatchInference () |
| bool | Init (const std::map< std::string, std::vector< int > > &shapes) override |
| void | Infer () override |
| base::BlobPtr< float > | get_blob (const std::string &name) override |
Public 成员函数 继承自 apollo::perception::inference::Inference | |
| Inference ()=default | |
| virtual | ~Inference ()=default |
| virtual void | SetStream (cudaStream_t stream) |
| void | set_max_batch_size (const int &batch_size) |
| void | set_gpu_id (const int &gpu_id) |
| void | set_model_info (const std::string &proto_file, const std::vector< std::string > &net_input_names, const std::vector< std::string > &net_output_names) |
额外继承的成员函数 | |
Protected 属性 继承自 apollo::perception::inference::Inference | |
| int | max_batch_size_ = 1 |
| int | gpu_id_ = 0 |
| std::string | proto_file_ = "" |
| std::vector< std::string > | net_output_names_ |
| std::vector< std::string > | net_input_names_ |
在文件 onnx_single_batch_infer.h 第 45 行定义.
| apollo::perception::inference::SingleBatchInference::SingleBatchInference | ( | const std::string & | model_file, |
| const float | score_threshold, | ||
| const std::vector< std::string > & | outputs, | ||
| const std::vector< std::string > & | inputs | ||
| ) |
在文件 onnx_single_batch_infer.cc 第 88 行定义.
| apollo::perception::inference::SingleBatchInference::SingleBatchInference | ( | const std::string & | model_file, |
| const std::vector< std::string > & | outputs, | ||
| const std::vector< std::string > & | inputs | ||
| ) |
在文件 onnx_single_batch_infer.cc 第 97 行定义.
|
virtual |
在文件 onnx_single_batch_infer.cc 第 102 行定义.
|
overridevirtual |
实现了 apollo::perception::inference::Inference.
在文件 onnx_single_batch_infer.cc 第 80 行定义.
|
overridevirtual |
实现了 apollo::perception::inference::Inference.
在文件 onnx_single_batch_infer.cc 第 243 行定义.
|
overridevirtual |
实现了 apollo::perception::inference::Inference.
在文件 onnx_single_batch_infer.cc 第 114 行定义.