Searched refs:height_ratio (Results 1 – 3 of 3) sorted by relevance
182 const int height_ratio = 1 + Extract(7, data, size, bit_pos); in ExtractAndCropOrScale() local188 const int cropped_height = Max(1, pic->height / height_ratio); in ExtractAndCropOrScale()195 const int scaled_height = 1 + (pic->height * height_ratio) / 8; in ExtractAndCropOrScale()
255 const float height_ratio = in CropAndResizeBackpropBoxesKernel() local264 const float height_scale = (crop_height > 1) ? (y2 - y1) * height_ratio : 0; in CropAndResizeBackpropBoxesKernel()322 dy1 = image_grad_y * (image_height - 1 - y * height_ratio); in CropAndResizeBackpropBoxesKernel()323 dy2 = image_grad_y * (y * height_ratio); in CropAndResizeBackpropBoxesKernel()
673 const float height_ratio = in operator ()() local683 (crop_height > 1) ? (y2 - y1) * height_ratio : 0; in operator ()()729 image_grad_y * (image_height - 1 - y * height_ratio); in operator ()()730 grads_boxes(b, 2) += image_grad_y * (y * height_ratio); in operator ()()