Apollo 10.0
自动驾驶开放平台
test_helper.h 文件参考

浏览源代码.

class  apollo::perception::base::MultiDeviceTest< TypeParam >
 
struct  apollo::perception::base::CPUDevice< TypeParam >
 
class  apollo::perception::base::CPUDeviceTest< Dtype >
 

命名空间

namespace  apollo
 class register implement
 
namespace  apollo::perception
 apollo::perception
 
namespace  apollo::perception::base
 

宏定义

#define CUDA_TEST_DEVICE   -1
 
#define EXAMPLES_SOURCE_DIR   "examples/"
 
#define ABS_TEST_DATA_DIR   "src/caffe/test/test_data"
 

类型定义

typedef ::testing::Types< float, double > apollo::perception::base::TestDtypes
 
typedef ::testing::Types< CPUDevice< float >, CPUDevice< double > > apollo::perception::base::TestDtypesAndDevices
 

宏定义说明

◆ ABS_TEST_DATA_DIR

#define ABS_TEST_DATA_DIR   "src/caffe/test/test_data"

在文件 test_helper.h20 行定义.

◆ CUDA_TEST_DEVICE

#define CUDA_TEST_DEVICE   -1

在文件 test_helper.h18 行定义.

◆ EXAMPLES_SOURCE_DIR

#define EXAMPLES_SOURCE_DIR   "examples/"

在文件 test_helper.h19 行定义.