提交 6598eb82 编写于 作者: Y yangfei

add cl kernel for mobilenetssd

上级 aee4ffcf
......@@ -17,18 +17,18 @@ limitations under the License. */
#include "operators/kernel/box_coder_kernel.h"
namespace paddle_mobile {
namespace operators {
namespace operators {
template <>
bool BoxCoderKernel<GPU_CL, float>::Init(BoxCoderParam<GPU_CL> *param) {
return true;
}
template <>
bool BoxCoderKernel<GPU_CL, float>::Init(BoxCoderParam<GPU_CL> *param) {
return true;
}
template <>
void BoxCoderKernel<GPU_CL, float>::Compute(const BoxCoderParam<GPU_CL> &param) {
}
template <>
void BoxCoderKernel<GPU_CL, float>::Compute(
const BoxCoderParam<GPU_CL> &param) {}
} // namespace operators
} // namespace operators
} // namespace paddle_mobile
#endif
......@@ -17,19 +17,17 @@ limitations under the License. */
#include "operators/kernel/concat_kernel.h"
namespace paddle_mobile {
namespace operators {
namespace operators {
template <>
bool ConcatKernel<GPU_CL, float>::Init(ConcatParam<GPU_CL> *param) {
return true;
}
template <>
bool ConcatKernel<GPU_CL, float>::Init(ConcatParam<GPU_CL> *param) {
return true;
}
template <>
void ConcatKernel<GPU_CL, float>::Compute(const ConcatParam<GPU_CL> &param) {
template <>
void ConcatKernel<GPU_CL, float>::Compute(const ConcatParam<GPU_CL> &param) {}
}
} // namespace operators
} // namespace operators
} // namespace paddle_mobile
#endif
......@@ -17,21 +17,20 @@ limitations under the License. */
#include "operators/kernel/conv_bn_relu_kernel.h"
namespace paddle_mobile {
namespace operators {
namespace operators {
template <>
bool ConvBNReluKernel<GPU_CL, float>::Init(FusionConvBNReluParam<GPU_CL> *param) {
template <>
bool ConvBNReluKernel<GPU_CL, float>::Init(
FusionConvBNReluParam<GPU_CL> *param) {
return true;
}
return true;
}
template <>
void ConvBNReluKernel<GPU_CL, float>::Compute(
const FusionConvBNReluParam<GPU_CL> &param) {}
template class ConvBNReluKernel<GPU_CL, float>;
template <>
void ConvBNReluKernel<GPU_CL, float>::Compute(
const FusionConvBNReluParam<GPU_CL> &param) {
}
template class ConvBNReluKernel<GPU_CL, float>;
} // namespace operators
} // namespace operators
} // namespace paddle_mobile
#endif
......@@ -17,21 +17,20 @@ limitations under the License. */
#include "operators/kernel/dwconv_bn_relu_kernel.h"
namespace paddle_mobile {
namespace operators {
namespace operators {
template <>
bool DWConvBNReluKernel<GPU_CL, float>::Init(FusionDWConvBNReluParam<GPU_CL> *param) {
template <>
bool DWConvBNReluKernel<GPU_CL, float>::Init(
FusionDWConvBNReluParam<GPU_CL> *param) {
return true;
}
return true;
}
template <>
void DWConvBNReluKernel<GPU_CL, float>::Compute(
const FusionDWConvBNReluParam<GPU_CL> &param) {}
template class DWConvBNReluKernel<GPU_CL, float>;
template <>
void DWConvBNReluKernel<GPU_CL, float>::Compute(
const FusionDWConvBNReluParam<GPU_CL> &param) {
}
template class DWConvBNReluKernel<GPU_CL, float>;
} // namespace operators
} // namespace operators
} // namespace paddle_mobile
#endif
......@@ -17,19 +17,19 @@ limitations under the License. */
#include "operators/kernel/multiclass_nms_kernel.h"
namespace paddle_mobile {
namespace operators {
namespace operators {
template <>
bool MultiClassNMSKernel<GPU_CL, float>::Init(MultiClassNMSParam<GPU_CL> *param) {
return true;
}
template <>
bool MultiClassNMSKernel<GPU_CL, float>::Init(
MultiClassNMSParam<GPU_CL> *param) {
return true;
}
template <>
void MultiClassNMSKernel<GPU_CL, float>::Compute(
const MultiClassNMSParam<GPU_CL> &param) {
}
template <>
void MultiClassNMSKernel<GPU_CL, float>::Compute(
const MultiClassNMSParam<GPU_CL> &param) {}
} // namespace operators
} // namespace operators
} // namespace paddle_mobile
#endif
......@@ -17,20 +17,19 @@ limitations under the License. */
#include "operators/kernel/prior_box_kernel.h"
namespace paddle_mobile {
namespace operators {
namespace operators {
template <>
bool PriorBoxKernel<GPU_CL, float>::Init(PriorBoxParam<GPU_CL> *param) {
return true;
}
template <>
bool PriorBoxKernel<GPU_CL, float>::Init(PriorBoxParam<GPU_CL> *param) {
return true;
}
template <>
void PriorBoxKernel<GPU_CL, float>::Compute(const PriorBoxParam<GPU_CL> &param) {
template <>
void PriorBoxKernel<GPU_CL, float>::Compute(
const PriorBoxParam<GPU_CL> &param) {}
template class PriorBoxKernel<GPU_CL, float>;
}
template class PriorBoxKernel<GPU_CL, float>;
} // namespace operators
} // namespace operators
} // namespace paddle_mobile
#endif
......@@ -16,18 +16,18 @@ limitations under the License. */
#include "operators/kernel/transpose_kernel.h"
namespace paddle_mobile {
namespace operators {
namespace operators {
template <>
bool TransposeKernel<GPU_CL, float>::Init(TransposeParam<GPU_CL> *param) {
return true;
}
template <>
bool TransposeKernel<GPU_CL, float>::Init(TransposeParam<GPU_CL> *param) {
return true;
}
template <>
void TransposeKernel<GPU_CL, float>::Compute(const TransposeParam<GPU_CL> &param) {
}
template <>
void TransposeKernel<GPU_CL, float>::Compute(
const TransposeParam<GPU_CL> &param) {}
} // namespace operators
} // namespace operators
} // namespace paddle_mobile
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册