• Home
  • Raw
  • Download

Lines Matching refs:common_params

157     void consume_parameters(ExampleParams &common_params)  in consume_parameters()  argument
159 common_params.input.width = width->value(); in consume_parameters()
160 common_params.input.height = height->value(); in consume_parameters()
161 common_params.input.fm = channels->value(); in consume_parameters()
162 common_params.input.batch = batch->value(); in consume_parameters()
163 common_params.input.quant_info = QuantizationInfo(scale->value(), offset->value()); in consume_parameters()
164 common_params.input.npy = input_npy->value(); in consume_parameters()
165 common_params.input.range_low = input_range_low->value(); in consume_parameters()
166 common_params.input.range_high = input_range_high->value(); in consume_parameters()
168 common_params.weights.width = weights_width->value(); in consume_parameters()
169 common_params.weights.height = weights_height->value(); in consume_parameters()
170 common_params.weights.npy = weights_npy->value(); in consume_parameters()
171 common_params.weights.range_low = weights_range_low->value(); in consume_parameters()
172 common_params.weights.range_high = weights_range_high->value(); in consume_parameters()
173common_params.weights.quant_info = QuantizationInfo(weights_scale->value(), weights_offset->value(… in consume_parameters()
175 common_params.bias.npy = bias_npy->value(); in consume_parameters()
177common_params.output.quant_info = QuantizationInfo(output_scale->value(), output_offset->value()); in consume_parameters()
178 common_params.output.npy = output_npy->value(); in consume_parameters()
180 common_params.convolution.padding_mode = padding_mode->value(); in consume_parameters()
181 common_params.convolution.padding_top = padding_top->value(); in consume_parameters()
182 common_params.convolution.padding_bottom = padding_bottom->value(); in consume_parameters()
183 common_params.convolution.padding_left = padding_left->value(); in consume_parameters()
184 common_params.convolution.padding_right = padding_right->value(); in consume_parameters()
185 common_params.convolution.padding_stride_x = stride_x->value(); in consume_parameters()
186 common_params.convolution.padding_stride_y = stride_y->value(); in consume_parameters()
187 common_params.convolution.depth_multiplier = depth_multiplier->value(); in consume_parameters()
189 common_params.data_type = data_type->value(); in consume_parameters()
190 common_params.data_layout = data_layout->value(); in consume_parameters()
191 common_params.depth_convolution_method = conv_mode->value(); in consume_parameters()
194 void print_parameters(::std::ostream &os, const ExampleParams &common_params) override in print_parameters() argument
196 os << "Threads : " << common_params.common_params.threads << std::endl; in print_parameters()
197 os << "Target : " << common_params.common_params.target << std::endl; in print_parameters()
198 os << "Data type : " << common_params.data_type << std::endl; in print_parameters()
199 …, Batch) : (" << common_params.input.width << "," << common_params.input.height << "," << common_p… in print_parameters()
201 …annels(same as input)) : (" << common_params.weights.width << "," << common_params.weights.height … in print_parameters()
203 …om, left, right) (stride x, stride y) : (" << common_params.convolution.padding_top << "," << comm… in print_parameters()
204common_params.convolution.padding_left << "," << common_params.convolution.padding_right << ") (" … in print_parameters()
206 os << "Padding Mode: " << common_params.convolution.padding_mode << std::endl; in print_parameters()
207 os << "Convolution Method: " << common_params.depth_convolution_method << std::endl; in print_parameters()
208 os << "Depth multiplier: " << common_params.convolution.depth_multiplier; in print_parameters()
299 return relative_tolerance.at(_params.common_params.target).at(_params.data_type); in relative_tolerance()
322 return absolute_tolerance.at(_params.common_params.target).at(_params.data_type); in absolute_tolerance()
345 return absolute_tolerance.at(_params.common_params.target).at(_params.data_type); in tolerance_number()