/external/tensorflow/tensorflow/core/kernels/image/ |
D | resize_nearest_neighbor_op_gpu.cu.cc | 36 const int nthreads, const T* __restrict__ bottom_data, const int in_height, in ResizeNearestNeighborNHWC() argument 49 const T* bottom_data_n = bottom_data + n * channels * in_height * in_width; in ResizeNearestNeighborNHWC() 53 in_height - 1), in ResizeNearestNeighborNHWC() 67 const int nthreads, const T* __restrict__ bottom_data, const int in_height, in LegacyResizeNearestNeighborNHWC() argument 80 const T* bottom_data_n = bottom_data + n * channels * in_height * in_width; in LegacyResizeNearestNeighborNHWC() 84 in_height - 1); in LegacyResizeNearestNeighborNHWC() 96 const int nthreads, const T* __restrict__ top_diff, const int in_height, in ResizeNearestNeighborBackwardNHWC() argument 106 int in_y = n % in_height; in ResizeNearestNeighborBackwardNHWC() 107 n /= in_height; in ResizeNearestNeighborBackwardNHWC() 127 const int nthreads, const T* __restrict__ top_diff, const int in_height, in LegacyResizeNearestNeighborBackwardNHWC() argument [all …]
|
D | resize_bilinear_op_gpu.cu.cc | 38 float height_scale, float width_scale, int batch, int in_height, in ResizeBilinearKernel_faster() argument 56 (in_y < in_height - 1) ? ceilf(in_y) : in_height - 1; in ResizeBilinearKernel_faster() 75 ((float4*)images)[(((b * in_height + top_y_index) * in_width + in ResizeBilinearKernel_faster() 81 ((float4*)images)[(((b * in_height + top_y_index) * in_width + in ResizeBilinearKernel_faster() 87 ((float4*)images)[(((b * in_height + bottom_y_index) * in_width + in ResizeBilinearKernel_faster() 93 ((float4*)images)[(((b * in_height + bottom_y_index) * in_width + in ResizeBilinearKernel_faster() 119 float width_scale, int batch, int in_height, int in_width, int channels, in ResizeBilinearKernel() argument 135 (in_y < in_height - 1) ? ceilf(in_y) : in_height - 1; in ResizeBilinearKernel() 145 images[((b * in_height + top_y_index) * in_width + left_x_index) * in ResizeBilinearKernel() 149 images[((b * in_height + top_y_index) * in_width + right_x_index) * in ResizeBilinearKernel() [all …]
|
D | resize_area_op_test.cc | 66 const int64 in_height = input_data.dimension(1); in ResizeAreaBaseline() local 76 const float height_scale = in_height / static_cast<float>(out_height); in ResizeAreaBaseline() 133 static_cast<float>(input_data(b, BOUND(i, in_height), in ResizeAreaBaseline() 149 void RunRandomTest(int in_height, int in_width, int target_height, in RunRandomTest() argument 152 SetRandomImageInput(TensorShape({1, in_height, in_width, channels})); in RunRandomTest()
|
D | resize_bicubic_op_test.cc | 116 const int64 in_height = images.dimension(1); in ResizeBicubicBaseline() local 126 const float height_scale = in_height / static_cast<float>(out_height); in ResizeBicubicBaseline() 134 GetWeightsAndIndices(height_scale, y, in_height, &y_weights, in ResizeBicubicBaseline() 161 void RunRandomTest(const int batch_size, const int64 in_height, in RunRandomTest() argument 164 LOG(INFO) << "Running random test " << in_height << "x" << in_width << "x" in RunRandomTest() 168 TensorShape({batch_size, in_height, in_width, channels})); in RunRandomTest()
|
D | resize_nearest_neighbor_op.cc | 55 OP_REQUIRES(context, st.in_height < (1 << 24) && st.in_width < (1 << 24), in Compute() 231 const int64 in_height = input.dim_size(1); in Compute() local 252 CalculateResizeScale(out_height, in_height, align_corners_); in Compute() 309 const Eigen::Index in_height = input.dimension(1); in operator ()() local 318 for (Eigen::Index y = 0; y < in_height; ++y) { in operator ()()
|
/external/libaom/libaom/av1/encoder/ |
D | cnn.c | 24 int in_height; member 150 static void find_layer_output_size(int in_width, int in_height, in find_layer_output_size() argument 159 *out_height = (in_height + layer_config->skip_height - 1) / in find_layer_output_size() 166 *out_height = (in_height - layer_config->filter_height + in find_layer_output_size() 177 *out_height = in_height * layer_config->skip_height; in find_layer_output_size() 182 *out_height = (in_height - 1) * layer_config->skip_height + in find_layer_output_size() 234 void av1_find_cnn_output_size(int in_width, int in_height, in av1_find_cnn_output_size() argument 241 i_height[0] = in_height + cnn_config->ext_height * 2; in av1_find_cnn_output_size() 350 convolve_ops->input, convolve_ops->in_width, convolve_ops->in_height, in convolve_layer() 356 static void convolve_layer_mt(const float **input, int in_width, int in_height, in convolve_layer_mt() argument [all …]
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | padding.h | 60 int dilation_rate_width, int in_height, int in_width, int filter_height, in ComputePaddingHeightWidth() argument 64 *out_height = ComputeOutSize(padding, in_height, filter_height, stride_height, in ComputePaddingHeightWidth() 70 ComputePaddingWithOffset(stride_height, dilation_rate_height, in_height, in ComputePaddingHeightWidth() 83 int in_height, int in_width, int in_depth, int filter_height, in ComputePadding3DValues() argument 88 *out_height = ComputeOutSize(padding, in_height, filter_height, stride_height, in ComputePadding3DValues() 100 ComputePaddingWithOffset(stride_height, dilation_rate_height, in_height, in ComputePadding3DValues()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | depthwise_conv_op_gpu.h | 91 const int in_height = args.in_rows; 126 const int input_offset_temp = in_height * batch; 128 input_row_end < in_height && input_col_end < in_width) { 156 if (in_row >= 0 && in_row < in_height && in_col >= 0 && 202 const int in_height = args.in_rows; 220 const int in_size = in_height * in_row_size; 224 const int even_height = kKnownEvenHeight || (1 & ~in_height); 225 const int tile_height = in_height + filter_height - even_height; 267 !kKnownEvenHeight && thread_row + (in_height & 1) == block_height; 338 const int in_height = args.in_rows; [all …]
|
D | quantized_resize_bilinear_op_test.cc | 110 const int batch_size, const int64 in_height, in CalcReferenceResizedVal() argument 119 half_pixel_centers, out_height, in_height, 1, y, height_scale); in CalcReferenceResizedVal() 122 const int64 in_batch_num_values = in_height * in_row_size; in CalcReferenceResizedVal() 145 const int64 in_height, const int64 in_width, in CheckTensorValue() argument 153 CalculateResizeScale(in_height, out_height, align_corners); in CheckTensorValue() 162 in_data, half_pixel_centers, batch_size, in_height, in_width, in CheckTensorValue() 296 void RunTestResizeBilinearTwoDims(int batch_size, int in_height, int in_width, in RunTestResizeBilinearTwoDims() argument 302 const float max = batch_size * in_height * in_width * channels / RATIO; in RunTestResizeBilinearTwoDims() 305 batch_size, in_height, in_width, channels, RATIO, min, max); in RunTestResizeBilinearTwoDims() 313 batch_size, in_height, in_width, out_height, out_width, channels, in RunTestResizeBilinearTwoDims() [all …]
|
D | quantized_resize_bilinear_op.cc | 468 const int batch_size, const int64 in_height, in ResizeImageReference() argument 480 out_height, in_height, height_scale, 1, 0, half_pixel_centers); in ResizeImageReference() 483 const int64 in_batch_num_values = in_height * in_row_size; in ResizeImageReference() 517 const int batch_size, const int64 in_height, in ResizeImage() argument 524 ResizeImageReference<T>(images, batch_size, in_height, in_width, out_height, in ResizeImage() 531 const int batch_size, const int64 in_height, in ResizeImage() argument 548 out_height, in_height, height_scale, 1, RESOLUTION, half_pixel_centers); in ResizeImage() 551 const int64 in_batch_num_values = in_height * in_row_size; in ResizeImage() 594 const int batch_size, const int64 in_height, in ResizeImage() argument 611 out_height, in_height, height_scale, 1, RESOLUTION, half_pixel_centers); in ResizeImage() [all …]
|
/external/webrtc/media/base/ |
D | video_adapter.cc | 187 int in_height, in AdaptFrameResolution() argument 203 if (in_width > in_height) { in AdaptFrameResolution() 225 << " Input: " << in_width << "x" << in_height in AdaptFrameResolution() 240 *cropped_height = in_height; in AdaptFrameResolution() 246 std::min(in_width, static_cast<int>(in_height * requested_aspect)); in AdaptFrameResolution() 248 std::min(in_height, static_cast<int>(in_width / requested_aspect)); in AdaptFrameResolution() 258 *cropped_height, scale.denominator * resolution_alignment_, in_height); in AdaptFrameResolution() 278 << " Input: " << in_width << "x" << in_height in AdaptFrameResolution()
|
/external/tensorflow/tensorflow/lite/micro/kernels/arc_mli/ |
D | scratch_buf_mgr.cc | 241 const int in_height = in->shape[height_dimension]; in arc_scratch_buffer_calc_slice_size_io() local 250 bool fit = (static_cast<int>(in->capacity) >= in_height * line_size_in) && in arc_scratch_buffer_calc_slice_size_io() 258 *in_slice_height = std::max(in_height, out_height * stride_height); in arc_scratch_buffer_calc_slice_size_io() 264 std::min(in_height, static_cast<int>(in->capacity) / line_size_in); in arc_scratch_buffer_calc_slice_size_io() 265 if (max_lines_in >= in_height) { in arc_scratch_buffer_calc_slice_size_io() 267 } else if (2 * max_lines_in >= in_height) { in arc_scratch_buffer_calc_slice_size_io()
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_Conv3D.pbtxt | 6 Shape `[batch, in_depth, in_height, in_width, in_channels]`. 34 [batch, in_depth, in_height, in_width, in_channels]. 36 [batch, in_channels, in_depth, in_height, in_width].
|
D | api_def_Conv2DBackpropInput.pbtxt | 27 4-D with shape `[batch, in_height, in_width, in_channels]`. Gradient 59 [batch, in_height, in_width, in_channels]. 61 [batch, in_channels, in_height, in_width].
|
D | api_def_Conv2DBackpropFilter.pbtxt | 6 4-D with shape `[batch, in_height, in_width, in_channels]`. 60 [batch, in_height, in_width, in_channels]. 62 [batch, in_channels, in_height, in_width].
|
D | api_def_Dilation2DBackpropInput.pbtxt | 6 4-D with shape `[batch, in_height, in_width, depth]`. 24 4-D with shape `[batch, in_height, in_width, depth]`.
|
D | api_def_MaxPoolV2.pbtxt | 39 [batch, in_height, in_width, in_channels]. 41 [batch, in_channels, in_height, in_width].
|
D | api_def_MaxPool.pbtxt | 39 [batch, in_height, in_width, in_channels]. 41 [batch, in_channels, in_height, in_width].
|
D | api_def_AvgPool.pbtxt | 38 [batch, in_height, in_width, in_channels]. 40 [batch, in_channels, in_height, in_width].
|
D | api_def_MaxPool3D.pbtxt | 40 [batch, in_depth, in_height, in_width, in_channels]. 42 [batch, in_channels, in_depth, in_height, in_width].
|
D | api_def_MaxPoolGradV2.pbtxt | 51 [batch, in_height, in_width, in_channels]. 53 [batch, in_channels, in_height, in_width].
|
D | api_def_MaxPool3DGrad.pbtxt | 46 [batch, in_depth, in_height, in_width, in_channels]. 48 [batch, in_channels, in_depth, in_height, in_width].
|
D | api_def_MaxPoolGradGrad.pbtxt | 51 [batch, in_height, in_width, in_channels]. 53 [batch, in_channels, in_height, in_width].
|
D | api_def_MaxPoolGrad.pbtxt | 52 [batch, in_height, in_width, in_channels]. 54 [batch, in_channels, in_height, in_width].
|
D | api_def_MaxPoolGradGradV2.pbtxt | 51 [batch, in_height, in_width, in_channels]. 53 [batch, in_channels, in_height, in_width].
|