diff --git a/paddle/operators/math/im2col.cc b/paddle/operators/math/im2col.cc index bcc18af0364978369f84ac9f80721f218f02e89d..a5fcf6da8cc7d336ea2bf961fc5329448b5d9b72 100644 --- a/paddle/operators/math/im2col.cc +++ b/paddle/operators/math/im2col.cc @@ -15,6 +15,7 @@ limitations under the License. */ #include "paddle/operators/math/im2col.h" namespace paddle { +namespace operators { namespace math { /* @@ -243,4 +244,5 @@ template class Col2ImFunctor; template class Col2ImFunctor; } // namespace math +} // namespace operators } // namespace paddle diff --git a/paddle/operators/math/im2col.cu b/paddle/operators/math/im2col.cu index 2caa7c5ec268013f11561f2aa62a8e2bfe021590..23d3854610555dfff70a93759a85cf03c756795f 100644 --- a/paddle/operators/math/im2col.cu +++ b/paddle/operators/math/im2col.cu @@ -16,6 +16,7 @@ limitations under the License. */ #include "paddle/platform/cuda_helper.h" namespace paddle { +namespace operators { namespace math { template @@ -353,4 +354,5 @@ template class Col2ImFunctor; template class Col2ImFunctor; } // namespace math +} // namespace operators } // namespace paddle diff --git a/paddle/operators/math/im2col.h b/paddle/operators/math/im2col.h index f6b428e2894bc83e0619b237a9cf7368f4588e09..1065cd3d85e73adff7fa6256e800f4b4089c4376 100644 --- a/paddle/operators/math/im2col.h +++ b/paddle/operators/math/im2col.h @@ -18,6 +18,7 @@ limitations under the License. */ #include "paddle/platform/device_context.h" namespace paddle { +namespace operators { namespace math { /* The storage format of the coldata in the Im2ColFunctor and Col2ImFunctor. */ @@ -85,4 +86,5 @@ class Col2ImFunctor { }; } // namespace math +} // namespace operators } // namespace paddle