Searched refs:resized_width (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 180 const int x = idx % resized_width; in ResizeBilinearGradKernel() 181 idx /= resized_width; in ResizeBilinearGradKernel() 237 int original_width, int channels, int resized_height, int resized_width, in ResizeBilinearDeterministicGradKernel() argument 264 while (out_x < out_x_center + 1 && in_x < resized_width) { 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 346 const int x = idx % resized_width; in LegacyResizeBilinearGradKernel() 347 idx /= resized_width; in LegacyResizeBilinearGradKernel() 476 const int resized_width = input_grad.dimension(2); in operator ()() local [all …]
|
D | resize_bicubic_op.cc | 244 for (int64 x = 0; x < resizer_state.resized_width; ++x) { in ComputeGradientXWeightsAndIndices() 254 for (int64 x = 0; x < resizer_state.resized_width; ++x) { in ComputeGradientXWeightsAndIndices() 483 const int64 resized_width = resizer_state.resized_width; in ResizeBicubicGrad() local 488 std::vector<WeightsAndIndices> x_wais(resizer_state.resized_width); in ResizeBicubicGrad() 500 for (int64 x = 0; x < resized_width; ++x) { in ResizeBicubicGrad()
|
D | resize_bilinear_op.cc | 280 const Eigen::Index resized_width = input_grad.dimension(2); in ResizeGradCore() local 304 for (Eigen::Index x = 0; x < resized_width; ++x) { in ResizeGradCore()
|
/external/tensorflow/tensorflow/core/util/ |
D | image_resizer_state.h | 191 resized_width = input.dim_size(2); in ValidateAndCreateOutput() 198 OP_REQUIRES(context, resized_height > 0 && resized_width > 0, in ValidateAndCreateOutput() 219 CalculateResizeScale(original_width, resized_width, align_corners_); in ValidateAndCreateOutput() 231 int64 resized_width; member
|
/external/tensorflow/tensorflow/core/kernels/ |
D | conv_ops_fused_image_transform.cc | 121 int64 resized_width; member 230 int64 resized_width, in CalculatePerCachePixelParameters() argument 240 } else if (in_x >= resized_width) { in CalculatePerCachePixelParameters() 241 in_x = (resized_width * 2.0f) - (in_x + 1.0f + pad_offset); in CalculatePerCachePixelParameters() 261 int input_batches, int resized_height, int resized_width, in operator ()() argument 318 task_params.resized_width = resized_width; in operator ()() 488 task_params.pad_offset, task_params.resized_width, in operator ()()
|
D | conv_ops_test.cc | 136 const int resized_width = image_width; 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 | 259 resized_width = control_flow_util.smart_cond( 265 images=inputs, size=array_ops.stack([resized_height, resized_width])) 268 img_wd_diff = resized_width - self.width
|
/external/tensorflow/tensorflow/python/ops/ |
D | image_ops_impl.py | 1291 _, resized_height, resized_width, _ = _ImageDimensions(resized, rank=4) 1298 equal_(resized_width, target_width), ValueError, 1722 resized_width = math_ops.cast( 1733 resized = resize_fn(image, [resized_height, resized_width])
|