Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
apollo::planning::AutotuningMLPModel Class Reference

#include <autotuning_mlp_net_model.h>

Inheritance diagram for apollo::planning::AutotuningMLPModel:
Inheritance graph
Collaboration diagram for apollo::planning::AutotuningMLPModel:
Collaboration graph

Public Member Functions

 AutotuningMLPModel ()=default
 
virtual ~AutotuningMLPModel ()=default
 
void Run (const std::vector< Eigen::MatrixXf > &inputs, Eigen::MatrixXf *output) const override
 Compute the model output from inputs according to a defined layers' flow. More...
 
- Public Member Functions inherited from apollo::prediction::network::NetModel
 NetModel ()=default
 Constructor. More...
 
virtual ~NetModel ()=default
 Destructor. More...
 
virtual void SetState (const std::vector< Eigen::MatrixXf > &states)
 Set the internal state of a network model. More...
 
virtual void State (std::vector< Eigen::MatrixXf > *states) const
 Access to the internal state of a network model. More...
 
virtual void ResetState () const
 Set the internal state of a model. More...
 
bool LoadModel (const NetParameter &net_parameter)
 Load network parameters from a protobuf message. More...
 
std::string PerformanceString () const
 Shows the performance information of a network. More...
 
const std::string & Name () const
 Name of a network model. More...
 
int Id () const
 Id of a network model. More...
 
bool IsOk () const
 Indicate the state of a network model. More...
 

Additional Inherited Members

- Protected Attributes inherited from apollo::prediction::network::NetModel
std::vector< std::unique_ptr< Layer > > layers_
 
NetParameter net_parameter_
 
bool ok_ = false
 

Constructor & Destructor Documentation

◆ AutotuningMLPModel()

apollo::planning::AutotuningMLPModel::AutotuningMLPModel ( )
default

◆ ~AutotuningMLPModel()

virtual apollo::planning::AutotuningMLPModel::~AutotuningMLPModel ( )
virtualdefault

Member Function Documentation

◆ Run()

void apollo::planning::AutotuningMLPModel::Run ( const std::vector< Eigen::MatrixXf > &  inputs,
Eigen::MatrixXf *  output 
) const
overridevirtual

Compute the model output from inputs according to a defined layers' flow.

Parameters
Inputsto the network
Outputof the network will be returned

Implements apollo::prediction::network::NetModel.


The documentation for this class was generated from the following file: