Home
last modified time | relevance | path

Searched refs:resized_height (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/image/
Dresize_bilinear_op_gpu.cu.cc173 int resized_height, int resized_width, in ResizeBilinearGradKernel() argument
182 const int y = idx % resized_height; in ResizeBilinearGradKernel()
183 const int b = idx / resized_height; in ResizeBilinearGradKernel()
237 int original_width, int channels, int resized_height, int resized_width, in ResizeBilinearDeterministicGradKernel() argument
261 while (out_y < out_y_center + 1 && in_y < resized_height) { in ResizeBilinearDeterministicGradKernel()
266 ((b * resized_height + in_y) * resized_width + in_x) * channels + c; in ResizeBilinearDeterministicGradKernel()
339 int original_width, int channels, int resized_height, int resized_width, in LegacyResizeBilinearGradKernel() argument
348 const int y = idx % resized_height; in LegacyResizeBilinearGradKernel()
349 const int b = idx / resized_height; in LegacyResizeBilinearGradKernel()
475 const int resized_height = input_grad.dimension(1); in operator ()() local
[all …]
Dresize_bilinear_op.cc279 const Eigen::Index resized_height = input_grad.dimension(1); in ResizeGradCore() local
295 for (Eigen::Index y = 0; y < resized_height; ++y) { in ResizeGradCore()
Dresize_bicubic_op.cc484 const int64 resized_height = resizer_state.resized_height; in ResizeBicubicGrad() local
491 for (int64 y = 0; y < resized_height; ++y) { in ResizeBicubicGrad()
/external/tensorflow/tensorflow/core/util/
Dimage_resizer_state.h190 resized_height = input.dim_size(1); in ValidateAndCreateOutput()
198 OP_REQUIRES(context, resized_height > 0 && resized_width > 0, in ValidateAndCreateOutput()
217 CalculateResizeScale(original_height, resized_height, align_corners_); in ValidateAndCreateOutput()
230 int64 resized_height; member
/external/tensorflow/tensorflow/core/kernels/
Dconv_ops_fused_image_transform.cc115 int64 resized_height; member
172 int64 resized_height, const ImageResizerState& st, in CalculatePerCacheLineParameters() argument
191 } else if (in_y >= resized_height) { in CalculatePerCacheLineParameters()
192 in_y = (resized_height * 2.0f) - (in_y + 1.0f + pad_offset); in CalculatePerCacheLineParameters()
261 int input_batches, int resized_height, int resized_width, in operator ()() argument
315 task_params.resized_height = resized_height; in operator ()()
476 task_params.pad_offset, task_params.resized_height, in operator ()()
Dconv_ops_test.cc137 const int resized_height = image_height; in HandwrittenConv() local
145 AddInputFromArray<int32>(TensorShape({2}), {resized_height, resized_width}); in HandwrittenConv()
/external/tensorflow/tensorflow/python/keras/layers/preprocessing/
Dimage_preprocessing.py255 resized_height = control_flow_util.smart_cond(
265 images=inputs, size=array_ops.stack([resized_height, resized_width]))
267 img_hd_diff = resized_height - self.height
/external/tensorflow/tensorflow/python/ops/
Dimage_ops_impl.py1291 _, resized_height, resized_width, _ = _ImageDimensions(resized, rank=4)
1295 equal_(resized_height, target_height), ValueError,
1720 resized_height = math_ops.cast(
1733 resized = resize_fn(image, [resized_height, resized_width])