Apollo 11.0
自动驾驶开放平台
apollo::perception::inference::Layer< Dtype > 模板类 参考abstract

#include <layer.h>

类 apollo::perception::inference::Layer< Dtype > 继承关系图:
apollo::perception::inference::Layer< Dtype > 的协作图:

Public 成员函数

virtual void ForwardGPU (const std::vector< std::shared_ptr< base::Blob< Dtype > > > &bottom, const std::vector< std::shared_ptr< base::Blob< Dtype > > > &top)=0
 
virtual void ForwardCPU (const std::vector< std::shared_ptr< base::Blob< Dtype > > > &bottom, const std::vector< std::shared_ptr< base::Blob< Dtype > > > &top)=0
 
 Layer ()=default
 
virtual ~Layer ()=default
 
void set_gpu_id (const int &gpu_id)
 

Protected 属性

int gpu_id_ = 0
 

详细描述

template<typename Dtype>
class apollo::perception::inference::Layer< Dtype >

在文件 layer.h 第 29 行定义.

构造及析构函数说明

◆ Layer()

template<typename Dtype >
apollo::perception::inference::Layer< Dtype >::Layer ( )
default

◆ ~Layer()

template<typename Dtype >
virtual apollo::perception::inference::Layer< Dtype >::~Layer ( )
virtualdefault

成员函数说明

◆ ForwardCPU()

template<typename Dtype >
virtual void apollo::perception::inference::Layer< Dtype >::ForwardCPU ( const std::vector< std::shared_ptr< base::Blob< Dtype > > > &  bottom,
const std::vector< std::shared_ptr< base::Blob< Dtype > > > &  top 
)
pure virtual

◆ ForwardGPU()

template<typename Dtype >
virtual void apollo::perception::inference::Layer< Dtype >::ForwardGPU ( const std::vector< std::shared_ptr< base::Blob< Dtype > > > &  bottom,
const std::vector< std::shared_ptr< base::Blob< Dtype > > > &  top 
)
pure virtual

◆ set_gpu_id()

template<typename Dtype >
void apollo::perception::inference::Layer< Dtype >::set_gpu_id ( const int &  gpu_id)
inline

在文件 layer.h 第 39 行定义.

类成员变量说明

◆ gpu_id_

template<typename Dtype >
int apollo::perception::inference::Layer< Dtype >::gpu_id_ = 0
protected

在文件 layer.h 第 42 行定义.


该类的文档由以下文件生成: