Searched refs:width_ratio (Results 1 – 3 of 3) sorted by relevance
181 const int width_ratio = 1 + Extract(7, data, size, bit_pos); in ExtractAndCropOrScale() local187 const int cropped_width = Max(1, pic->width / width_ratio); in ExtractAndCropOrScale()194 const int scaled_width = 1 + (pic->width * width_ratio) / 8; in ExtractAndCropOrScale()
259 const float width_ratio = in CropAndResizeBackpropBoxesKernel() local265 const float width_scale = (crop_width > 1) ? (x2 - x1) * width_ratio : 0; in CropAndResizeBackpropBoxesKernel()331 dx1 = image_grad_x * (image_width - 1 - x * width_ratio); in CropAndResizeBackpropBoxesKernel()332 dx2 = image_grad_x * (x * width_ratio); in CropAndResizeBackpropBoxesKernel()
677 const float width_ratio = in operator ()() local684 const float width_scale = (crop_width > 1) ? (x2 - x1) * width_ratio : 0; in operator ()()738 image_grad_x * (image_width - 1 - x * width_ratio); in operator ()()739 grads_boxes(b, 3) += image_grad_x * (x * width_ratio); in operator ()()