Home
last modified time | relevance | path

Searched refs:height_ratio (Results 1 – 3 of 3) sorted by relevance

/external/webp/tests/fuzzer/
Dfuzz_utils.h182 const int height_ratio = 1 + Extract(7, data, size, bit_pos); in ExtractAndCropOrScale() local
188 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()
/external/tensorflow/tensorflow/core/kernels/image/
Dcrop_and_resize_op_gpu.cu.cc255 const float height_ratio = in CropAndResizeBackpropBoxesKernel() local
264 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()
Dcrop_and_resize_op.cc673 const float height_ratio = in operator ()() local
683 (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 ()()