Searched refs:height_diff (Results 1 – 3 of 3) sorted by relevance
306 const float height_diff = (original_box.GetHeight() - size) / 2.0f; in GetCenteredSquare() local308 original_box.top_ + height_diff, in GetCenteredSquare()
1274 height_diff = target_height - height1275 offset_crop_height = max_(-height_diff // 2, 0)1276 offset_pad_height = max_(height_diff // 2, 0)
2443 const int height_diff = output_height - trt_output_shape.d[1]; in ConvertConv2DHelper() local2445 if ((height_diff < 0) || (width_diff < 0)) { in ConvertConv2DHelper()2456 if ((height_diff > 0) || (width_diff > 0)) { in ConvertConv2DHelper()2458 nvinfer1::DimsHW post_padding(height_diff, width_diff); in ConvertConv2DHelper()