Searched refs:resized_height (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/core/kernels/image/ |
D | resize_bilinear_op_gpu.cu.cc | 173 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 …]
|
D | resize_bilinear_op.cc | 279 const Eigen::Index resized_height = input_grad.dimension(1); in ResizeGradCore() local 295 for (Eigen::Index y = 0; y < resized_height; ++y) { in ResizeGradCore()
|
D | resize_bicubic_op.cc | 484 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/ |
D | image_resizer_state.h | 190 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/ |
D | conv_ops_fused_image_transform.cc | 115 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 ()()
|
D | conv_ops_test.cc | 137 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/ |
D | image_preprocessing.py | 255 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/ |
D | image_ops_impl.py | 1291 _, 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])
|