Skip to content

redeclaration of 'paddle::StatPtr __stat' #3908

@hedaoyuan

Description

@hedaoyuan

Download the latest paddle to compile, will report the following error.

DeConv3DLayer.cpp:185:32: error: redeclaration of 'paddle::StatPtr __stat'
       REGISTER_TIMER_INFO("WeightUpdate", getName().c_str());
                                ^
DeConv3DLayer.cpp:141:32: note: 'paddle::StatPtr __stat' previously declared here
       REGISTER_TIMER_INFO("BwdDeConv3D", getName().c_str());
                                ^
DeConv3DLayer.cpp:185:120: error: redeclaration of 'paddle::TimerOnce __timerOnce'
       REGISTER_TIMER_INFO("WeightUpdate", getName().c_str());

DeConv3DLayer.cpp:141:106: note: 'paddle::TimerOnce __timerOnce' previously declared here
       REGISTER_TIMER_INFO("BwdDeConv3D", getName().c_str());

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions