37 height_ = in_dims[0].
d[1];
38 width_ = in_dims[0].
d[2];
40 for (
int i = 0; i < 4; ++i) {
41 bbox_mean_[i] = bbox_reg_param.
bbox_mean(i);
42 bbox_std_[i] = bbox_reg_param.
bbox_std(i);
47 num_anchor_per_point_ = std::min(gen_anchor_param.
anchor_width().size(),
49 anchor_heights_ =
new float[num_anchor_per_point_]();
50 anchor_widths_ =
new float[num_anchor_per_point_]();
51 for (
int i = 0; i < num_anchor_per_point_; ++i) {
56 heat_map_a_ = detection_output_ssd_param.
heat_map_a();
60 min_size_h_ = detection_output_ssd_param.
min_size_h();
61 min_size_w_ = detection_output_ssd_param.
min_size_w();
64 refine_out_of_map_bbox_ =
70 top_n_ = nms_param.
top_n(0);