Home
last modified time | relevance | path

Searched refs:original_height (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dresize_bilinear_op_gpu.cu.cc90 float width_scale, int batch, int original_height, int original_width, in ResizeBilinearGradKernel() argument
105 const int bottom_y_index = (original_y < original_height - 1) in ResizeBilinearGradKernel()
107 : original_height - 1; in ResizeBilinearGradKernel()
121 ((b * original_height + top_y_index) * original_width + in ResizeBilinearGradKernel()
127 ((b * original_height + top_y_index) * original_width + in ResizeBilinearGradKernel()
135 ((b * original_height + bottom_y_index) * original_width + in ResizeBilinearGradKernel()
141 ((b * original_height + bottom_y_index) * original_width + in ResizeBilinearGradKernel()
204 float width_scale, int batch, int original_height, int original_width, in LegacyResizeBilinearGradKernel() argument
218 const int bottom_y_index = (original_y < original_height - 1) in LegacyResizeBilinearGradKernel()
220 : original_height - 1; in LegacyResizeBilinearGradKernel()
[all …]
Dsample_distorted_bounding_box_op.cc110 bool GenerateRandomCrop(int original_width, int original_height, in GenerateRandomCrop() argument
115 original_width <= 0 || original_height <= 0 || in GenerateRandomCrop()
121 min_relative_crop_area * original_width * original_height; in GenerateRandomCrop()
123 max_relative_crop_area * original_width * original_height; in GenerateRandomCrop()
135 if (max_height > original_height) { in GenerateRandomCrop()
136 max_height = original_height; in GenerateRandomCrop()
173 height > original_height || width <= 0 || height <= 0) { in GenerateRandomCrop()
178 if (height < original_height) { in GenerateRandomCrop()
179 y = random->Uniform(original_height - height); in GenerateRandomCrop()
Dimage_resizer_state.h190 original_height = original_image.dim_size(1); in ValidateAndCreateOutput()
195 FastBoundsCheck(original_height, std::numeric_limits<int32>::max()) && in ValidateAndCreateOutput()
201 CalculateResizeScale(original_height, resized_height, align_corners_); in ValidateAndCreateOutput()
207 TensorShape({batch_size, original_height, in ValidateAndCreateOutput()
216 int64 original_height; member
Dresize_bicubic_op.cc480 const int64 original_height = resizer_state.original_height; in ResizeBicubicGrad() local
494 original_height, &y_wai); in ResizeBicubicGrad()
497 original_height, &y_wai); in ResizeBicubicGrad()
Dresize_bilinear_op.cc303 const Eigen::Index original_height = output_grad.dimension(1); in ResizeGradCore() local
326 static_cast<Eigen::Index>(ceilf(in_y)), original_height - 1); in ResizeGradCore()