#include <pytorch.h>
Public 成员函数 | |
void | Forward () |
void | ForwardCUDATensors () |
void | ForwardDynamic () |
Outputs & | GetOutputs () |
void | LoadModel (char *filename, int device) |
NeuralModel () | |
void | SetInputs (Inputs input) |
~NeuralModel () | |
Private 属性 | |
Inputs | _input |
Outputs | _output |
std::unique_ptr< NeuralModelImpl > | Model |
carla::learning::NeuralModel::NeuralModel | ( | ) |
在文件 pytorch.cpp 第 159 行定义.
引用了 Model.
carla::learning::NeuralModel::~NeuralModel | ( | ) |
在文件 pytorch.cpp 第 290 行定义.
void carla::learning::NeuralModel::Forward | ( | ) |
在文件 pytorch.cpp 第 182 行定义.
引用了 _input, _output, carla::learning::Inputs::braking, carla::learning::GetWheelTensorInputs(), carla::learning::GetWheelTensorOutput(), Model, carla::learning::Inputs::steering, carla::learning::Inputs::terrain_type, carla::learning::Inputs::throttle, carla::learning::Inputs::verbose, carla::learning::Inputs::wheel0, carla::learning::Outputs::wheel0, carla::learning::Inputs::wheel1, carla::learning::Outputs::wheel1, carla::learning::Inputs::wheel2, carla::learning::Outputs::wheel2, carla::learning::Inputs::wheel3 , 以及 carla::learning::Outputs::wheel3.
void carla::learning::NeuralModel::ForwardCUDATensors | ( | ) |
在文件 pytorch.cpp 第 253 行定义.
引用了 _input, _output, carla::learning::Inputs::braking, carla::learning::GetWheelTensorOutput(), Model, carla::learning::Inputs::steering, carla::learning::Inputs::terrain_type, carla::learning::Inputs::throttle, carla::learning::Inputs::verbose, carla::learning::Inputs::wheel0, carla::learning::Outputs::wheel0, carla::learning::Inputs::wheel1, carla::learning::Outputs::wheel1, carla::learning::Inputs::wheel2, carla::learning::Outputs::wheel2, carla::learning::Inputs::wheel3 , 以及 carla::learning::Outputs::wheel3.
void carla::learning::NeuralModel::ForwardDynamic | ( | ) |
在文件 pytorch.cpp 第 214 行定义.
引用了 _input, _output, carla::learning::Inputs::braking, carla::learning::GetWheelTensorInputs(), carla::learning::GetWheelTensorOutputDynamic(), Model, carla::learning::Inputs::steering, carla::learning::Inputs::terrain_type, carla::learning::Inputs::throttle, carla::learning::Inputs::verbose, carla::learning::Inputs::wheel0, carla::learning::Outputs::wheel0, carla::learning::Inputs::wheel1, carla::learning::Outputs::wheel1, carla::learning::Inputs::wheel2, carla::learning::Outputs::wheel2, carla::learning::Inputs::wheel3 , 以及 carla::learning::Outputs::wheel3.
Outputs & carla::learning::NeuralModel::GetOutputs | ( | ) |
在文件 pytorch.cpp 第 286 行定义.
引用了 _output.
void carla::learning::NeuralModel::LoadModel | ( | char * | filename, |
int | device ) |
在文件 pytorch.cpp 第 162 行定义.
引用了 Model.
void carla::learning::NeuralModel::SetInputs | ( | Inputs | input | ) |
在文件 pytorch.cpp 第 177 行定义.
引用了 _input.
|
private |
被这些函数引用 Forward(), ForwardCUDATensors(), ForwardDynamic() , 以及 SetInputs().
|
private |
被这些函数引用 Forward(), ForwardCUDATensors(), ForwardDynamic() , 以及 GetOutputs().
|
private |
被这些函数引用 Forward(), ForwardCUDATensors(), ForwardDynamic(), LoadModel() , 以及 NeuralModel().