Fix the namespace of the im2col functor.

Adaptive_data_structure_for_SwitchOrderLayer
hedaoyuan 8 years ago
parent 45c8f9b282
commit f807807ed1

@ -15,6 +15,7 @@ limitations under the License. */
#include "paddle/operators/math/im2col.h" #include "paddle/operators/math/im2col.h"
namespace paddle { namespace paddle {
namespace operators {
namespace math { namespace math {
/* /*
@ -243,4 +244,5 @@ template class Col2ImFunctor<kOCF, platform::CPUPlace, float>;
template class Col2ImFunctor<kOCF, platform::CPUPlace, double>; template class Col2ImFunctor<kOCF, platform::CPUPlace, double>;
} // namespace math } // namespace math
} // namespace operators
} // namespace paddle } // namespace paddle

@ -16,6 +16,7 @@ limitations under the License. */
#include "paddle/platform/cuda_helper.h" #include "paddle/platform/cuda_helper.h"
namespace paddle { namespace paddle {
namespace operators {
namespace math { namespace math {
template <class T> template <class T>
@ -353,4 +354,5 @@ template class Col2ImFunctor<kOCF, platform::GPUPlace, float>;
template class Col2ImFunctor<kOCF, platform::GPUPlace, double>; template class Col2ImFunctor<kOCF, platform::GPUPlace, double>;
} // namespace math } // namespace math
} // namespace operators
} // namespace paddle } // namespace paddle

@ -18,6 +18,7 @@ limitations under the License. */
#include "paddle/platform/device_context.h" #include "paddle/platform/device_context.h"
namespace paddle { namespace paddle {
namespace operators {
namespace math { namespace math {
/* The storage format of the coldata in the Im2ColFunctor and Col2ImFunctor. */ /* The storage format of the coldata in the Im2ColFunctor and Col2ImFunctor. */
@ -85,4 +86,5 @@ class Col2ImFunctor {
}; };
} // namespace math } // namespace math
} // namespace operators
} // namespace paddle } // namespace paddle

Loading…
Cancel
Save