|
Apollo 11.0
自动驾驶开放平台
|
#include "modules/perception/common/inference/inference_factory.h"#include "modules/perception/common/inference/libtorch/torch_net.h"#include "modules/perception/common/inference/onnx/libtorch_obstacle_detector.h"#include "modules/perception/common/inference/onnx/onnx_single_batch_infer.h"#include "modules/perception/common/inference/paddlepaddle/paddle_net.h"#include "modules/perception/common/inference/tensorrt/rt_net.h"命名空间 | |
| namespace | apollo |
| class register implement | |
| namespace | apollo::perception |
| apollo::perception | |
| namespace | apollo::perception::inference |
宏定义 | |
| #define | RTNET RTNet(proto_file, weight_file, outputs, inputs) |
| #define | RTNET8 RTNet(proto_file, weight_file, outputs, inputs, model_root) |
函数 | |
| Inference * | apollo::perception::inference::CreateInferenceByName (const std::string &frame_work, const std::string &proto_file, const std::string &weight_file, const std::vector< std::string > &outputs, const std::vector< std::string > &inputs, const std::string &model_root) |
| Inference * | apollo::perception::inference::CreateInferenceByName (const common::Framework &frame_work, const std::string &proto_file, const std::string &weight_file, const std::vector< std::string > &outputs, const std::vector< std::string > &inputs, const std::string &model_root) |
| #define RTNET RTNet(proto_file, weight_file, outputs, inputs) |
在文件 inference_factory.cc 第 25 行定义.
| #define RTNET8 RTNet(proto_file, weight_file, outputs, inputs, model_root) |
在文件 inference_factory.cc 第 26 行定义.