提交 ab252f21 编写于 作者: C chenjiaoAngel

fix format aa. test=develop

上级 d1b53a88
......@@ -104,7 +104,8 @@ TEST(box_coder_image2d, compute) {
LOG(INFO) << "======== parameters: norm = " << norm
<< ", axis = " << axis << "code_type: " << code_type;
auto kernels = KernelRegistry::Global().Create("box_coder",
auto kernels =
KernelRegistry::Global().Create("box_coder",
TARGET(kOpenCL),
PRECISION(kFP16),
DATALAYOUT(kImageDefault));
......@@ -178,8 +179,9 @@ TEST(box_coder_image2d, compute) {
DDim prior_box_var_image_shape =
default_converter->InitImageDimInfoWith(prior_box_var_dims);
LOG(INFO) << "prior_box_var_image_shape = " << prior_box_var_image_shape[0]
<< " " << prior_box_var_image_shape[1];
LOG(INFO) << "prior_box_var_image_shape = "
<< prior_box_var_image_shape[0] << " "
<< prior_box_var_image_shape[1];
std::vector<half_t> prior_box_var_image_data(
prior_box_var_image_shape.production() * 4); // 4 : RGBA
default_converter->NCHWToImage(prior_box_var_data.data(),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册