• Home
  • Raw
  • Download

Lines Matching refs:models

42 void validate_models(const std::vector<HOGInfo> &models)  in validate_models()  argument
44 ARM_COMPUTE_ERROR_ON(0 == models.size()); in validate_models()
46 for(size_t i = 1; i < models.size(); ++i) in validate_models()
48 ARM_COMPUTE_ERROR_ON_MSG(models[0].phase_type() != models[i].phase_type(), in validate_models()
51 ARM_COMPUTE_ERROR_ON_MSG(models[0].normalization_type() != models[i].normalization_type(), in validate_models()
54 …ARM_COMPUTE_ERROR_ON_MSG((models[0].l2_hyst_threshold() != models[i].l2_hyst_threshold()) && (mode… in validate_models()
139 … const std::vector<HOGInfo> &models, std::vector<std::vector<float>> descriptors, in hog_multi_detection() argument
142 ARM_COMPUTE_ERROR_ON(descriptors.size() != models.size()); in hog_multi_detection()
143 validate_models(models); in hog_multi_detection()
147 const size_t num_models = models.size(); in hog_multi_detection()
150 size_t prev_num_bins = models[0].num_bins(); in hog_multi_detection()
151 Size2D prev_cell_size = models[0].cell_size(); in hog_multi_detection()
152 Size2D prev_block_size = models[0].block_size(); in hog_multi_detection()
153 Size2D prev_block_stride = models[0].block_stride(); in hog_multi_detection()
167 size_t cur_num_bins = models[i].num_bins(); in hog_multi_detection()
168 Size2D cur_cell_size = models[i].cell_size(); in hog_multi_detection()
169 Size2D cur_block_size = models[i].block_size(); in hog_multi_detection()
170 Size2D cur_block_stride = models[i].block_stride(); in hog_multi_detection()
212 SimpleTensor<uint8_t> _phase = phase(grad_x, grad_y, models[0].phase_type()); in hog_multi_detection()
219 const size_t num_bins = models[idx_multi_hog].num_bins(); in hog_multi_detection()
220 const size_t num_cells_x = width / models[idx_multi_hog].cell_size().width; in hog_multi_detection()
221 const size_t num_cells_y = height / models[idx_multi_hog].cell_size().height; in hog_multi_detection()
231 hog_orientation_binning(_mag, _phase, hog_spaces[i], models[idx_multi_hog]); in hog_multi_detection()
241 TensorInfo tensor_info(models[idx_multi_hog], src.shape().x(), src.shape().y()); in hog_multi_detection()
245 … hog_block_normalization(hog_norm_spaces[i], hog_spaces[idx_orient_bin], models[idx_multi_hog]); in hog_multi_detection()
256 const Size2D detection_window_stride = models[i].block_stride(); in hog_multi_detection()
259 … max_num_detection_windows, models[i], detection_window_stride, threshold, i); in hog_multi_detection()
274 … const std::vector<HOGInfo> &models, std::vector<std::vector<float>> descriptors,