#include <caffe_net.h>
|
| CaffeNet (const std::string &net_file, const std::string &model_file, const std::vector< std::string > &outputs) |
|
| CaffeNet (const std::string &net_file, const std::string &model_file, const std::vector< std::string > &outputs, const std::vector< std::string > &inputs) |
|
virtual | ~CaffeNet () |
|
bool | Init (const std::map< std::string, std::vector< int >> &shapes) override |
|
void | Infer () override |
|
BlobPtr | get_blob (const std::string &name) override |
|
| Inference ()=default |
|
virtual | ~Inference ()=default |
|
void | set_max_batch_size (const int &batch_size) |
|
void | set_gpu_id (const int &gpu_id) |
|
|
bool | reshape () |
|
bool | shape (const std::string &name, std::vector< int > *res) |
|
◆ CaffeNet() [1/2]
apollo::perception::inference::CaffeNet::CaffeNet |
( |
const std::string & |
net_file, |
|
|
const std::string & |
model_file, |
|
|
const std::vector< std::string > & |
outputs |
|
) |
| |
◆ CaffeNet() [2/2]
apollo::perception::inference::CaffeNet::CaffeNet |
( |
const std::string & |
net_file, |
|
|
const std::string & |
model_file, |
|
|
const std::vector< std::string > & |
outputs, |
|
|
const std::vector< std::string > & |
inputs |
|
) |
| |
◆ ~CaffeNet()
virtual apollo::perception::inference::CaffeNet::~CaffeNet |
( |
| ) |
|
|
inlinevirtual |
◆ get_blob()
BlobPtr apollo::perception::inference::CaffeNet::get_blob |
( |
const std::string & |
name | ) |
|
|
overridevirtual |
◆ Infer()
void apollo::perception::inference::CaffeNet::Infer |
( |
| ) |
|
|
overridevirtual |
◆ Init()
bool apollo::perception::inference::CaffeNet::Init |
( |
const std::map< std::string, std::vector< int >> & |
shapes | ) |
|
|
overridevirtual |
◆ reshape()
bool apollo::perception::inference::CaffeNet::reshape |
( |
| ) |
|
|
protected |
◆ shape()
bool apollo::perception::inference::CaffeNet::shape |
( |
const std::string & |
name, |
|
|
std::vector< int > * |
res |
|
) |
| |
|
protected |
◆ net_
std::shared_ptr<caffe::Net<float> > apollo::perception::inference::CaffeNet::net_ = nullptr |
|
protected |
The documentation for this class was generated from the following file: