Searched refs:width_diff (Results 1 – 3 of 3) sorted by relevance
305 const float width_diff = (original_box.GetWidth() - size) / 2.0f; in GetCenteredSquare() local307 return BoundingSquare(original_box.left_ + width_diff, in GetCenteredSquare()
1371 width_diff = target_width - width1372 offset_crop_width = max_(-width_diff // 2, 0)1373 offset_pad_width = max_(width_diff // 2, 0)
2036 const int width_diff = output_width - trt_output_shape.d[out_w_idx]; in ConvertConv2DHelper() local2037 if ((height_diff < 0) || (width_diff < 0)) { in ConvertConv2DHelper()2048 if ((height_diff > 0) || (width_diff > 0)) { in ConvertConv2DHelper()2050 nvinfer1::DimsHW post_padding(height_diff, width_diff); in ConvertConv2DHelper()