Home
last modified time | relevance | path

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

/external/webp/tests/fuzzer/
Dfuzz_utils.h181 const int width_ratio = 1 + Extract(7, data, size, bit_pos); in ExtractAndCropOrScale() local
187 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()
/external/tensorflow/tensorflow/core/kernels/image/
Dcrop_and_resize_op_gpu.cu.cc259 const float width_ratio = in CropAndResizeBackpropBoxesKernel() local
265 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()
Dcrop_and_resize_op.cc677 const float width_ratio = in operator ()() local
684 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 ()()