Searched refs:original_width (Results 1 – 7 of 7) sorted by relevance
/external/tensorflow/tensorflow/core/kernels/image/ |
D | resize_bilinear_op_gpu.cu.cc | 172 int original_width, int channels, in ResizeBilinearGradKernel() argument 197 const int right_x_index = (original_x < original_width - 1) in ResizeBilinearGradKernel() 199 : original_width - 1; in ResizeBilinearGradKernel() 204 ((b * original_height + top_y_index) * original_width + in ResizeBilinearGradKernel() 210 ((b * original_height + top_y_index) * original_width + in ResizeBilinearGradKernel() 218 ((b * original_height + bottom_y_index) * original_width + in ResizeBilinearGradKernel() 224 ((b * original_height + bottom_y_index) * original_width + in ResizeBilinearGradKernel() 237 int original_width, int channels, int resized_height, int resized_width, in ResizeBilinearDeterministicGradKernel() argument 244 const int out_x_center = idx % original_width; in ResizeBilinearDeterministicGradKernel() 245 idx /= original_width; in ResizeBilinearDeterministicGradKernel() [all …]
|
D | sample_distorted_bounding_box_op.cc | 115 bool GenerateRandomCrop(int original_width, int original_height, in GenerateRandomCrop() argument 120 original_width <= 0 || original_height <= 0 || in GenerateRandomCrop() 126 min_relative_crop_area * original_width * original_height; in GenerateRandomCrop() 128 max_relative_crop_area * original_width * original_height; in GenerateRandomCrop() 135 if (lrintf(max_height * aspect_ratio) > original_width) { in GenerateRandomCrop() 139 max_height = static_cast<int>((original_width + 0.5 - kEps) / aspect_ratio); in GenerateRandomCrop() 143 if (lrintf(max_height * aspect_ratio) > original_width) { in GenerateRandomCrop() 162 DCHECK_LE(width, original_width); in GenerateRandomCrop() 185 if (area < min_area || area > max_area || width > original_width || in GenerateRandomCrop() 195 if (width < original_width) { in GenerateRandomCrop() [all …]
|
D | resize_bilinear_op.cc | 276 const Eigen::Index original_width = output_grad.dimension(2); in ResizeGradCore() local 310 static_cast<Eigen::Index>(ceilf(in_x)), original_width - 1); in ResizeGradCore()
|
D | resize_bicubic_op.cc | 246 resizer_state.original_width, in ComputeGradientXWeightsAndIndices() 256 resizer_state.original_width, in ComputeGradientXWeightsAndIndices()
|
/external/tensorflow/tensorflow/core/util/ |
D | image_resizer_state.h | 193 original_width = original_image.dim_size(2); in ValidateAndCreateOutput() 206 context, original_height > 0 && original_width > 0, in ValidateAndCreateOutput() 212 FastBoundsCheck(original_width, std::numeric_limits<int32>::max()), in ValidateAndCreateOutput() 219 CalculateResizeScale(original_width, resized_width, align_corners_); in ValidateAndCreateOutput() 224 original_width, channels}), in ValidateAndCreateOutput() 233 int64 original_width; member
|
/external/tensorflow/tensorflow/lite/tools/evaluation/stages/ |
D | image_preprocessing_stage.cc | 84 int original_width, original_height, original_channels; in LoadImageJpeg() local 92 original_image.reset(Uncompress(temp, fsize, flags, &original_width, in LoadImageJpeg() 96 image_data->width = original_width; in LoadImageJpeg() 98 int original_size = original_height * original_width * original_channels; in LoadImageJpeg()
|
/external/minigbm/ |
D | virtgpu_virgl.c | 144 uint32_t original_width = bo->meta.width; in virgl_get_emulated_metadata() local 157 metadata->width = original_width; in virgl_get_emulated_metadata() 180 metadata->width = ALIGN(original_width, 32); in virgl_get_emulated_metadata()
|