|
Apollo 10.0
自动驾驶开放平台
|
#include <multi_agent_vehicle_torch_model.h>
Public 成员函数 | |
| MultiAgentVehicleGpuTorch () | |
| constructor | |
| ~MultiAgentVehicleGpuTorch () | |
| Destroy the Multi Agent Vehicle Gpu Torch object | |
| virtual bool | Init () |
| parse model description class and load the model | |
| virtual bool | Inference (const std::vector< void * > &input_buffer, unsigned int input_size, std::vector< void * > *output_buffer, unsigned int output_size) |
| performing network inference | |
| virtual bool | LoadModel () |
| load the model from file | |
| virtual void | Destory () |
| free all memory requested, gpu or cpu | |
Public 成员函数 继承自 apollo::prediction::ModelBase | |
| ModelBase () | |
| ~ModelBase () | |
额外继承的成员函数 | |
Public 属性 继承自 apollo::prediction::ModelBase | |
| std::string | model_path_ |
| uint8_t | init_ = 0 |
在文件 multi_agent_vehicle_torch_model.h 第 30 行定义.
|
inline |
|
inline |
Destroy the Multi Agent Vehicle Gpu Torch object
在文件 multi_agent_vehicle_torch_model.h 第 40 行定义.
|
virtual |
free all memory requested, gpu or cpu
实现了 apollo::prediction::ModelBase.
在文件 multi_agent_vehicle_torch_model.cc 第 147 行定义.
|
virtual |
performing network inference
| input_buffer | vector of input tensor |
| input_size | size of input_buffer |
| output_buffer | vector of output tensor |
| output_size | size of output_buffer |
实现了 apollo::prediction::ModelBase.
在文件 multi_agent_vehicle_torch_model.cc 第 96 行定义.
|
virtual |
parse model description class and load the model
| config_path | model config path |
实现了 apollo::prediction::ModelBase.
在文件 multi_agent_vehicle_torch_model.cc 第 31 行定义.
|
virtual |
load the model from file
实现了 apollo::prediction::ModelBase.
在文件 multi_agent_vehicle_torch_model.cc 第 57 行定义.