/external/tensorflow/tensorflow/core/kernels/ |
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 | 37 float height_scale, float width_scale, int batch, int in_height, in ResizeBilinearKernel_faster() argument 55 (in_y < in_height - 1) ? ceilf(in_y) : in_height - 1; in ResizeBilinearKernel_faster() 74 ((float4*)images)[(((b * in_height + top_y_index) * in_width + in ResizeBilinearKernel_faster() 80 ((float4*)images)[(((b * in_height + top_y_index) * in_width + in ResizeBilinearKernel_faster() 86 ((float4*)images)[(((b * in_height + bottom_y_index) * in_width + in ResizeBilinearKernel_faster() 92 ((float4*)images)[(((b * in_height + bottom_y_index) * in_width + in ResizeBilinearKernel_faster() 118 float width_scale, int batch, int in_height, int in_width, int channels, in ResizeBilinearKernel() argument 134 (in_y < in_height - 1) ? ceilf(in_y) : in_height - 1; in ResizeBilinearKernel() 144 images[((b * in_height + top_y_index) * in_width + left_x_index) * in ResizeBilinearKernel() 148 images[((b * in_height + top_y_index) * in_width + right_x_index) * in ResizeBilinearKernel() [all …]
|
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 | 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_nearest_neighbor_op.cc | 55 OP_REQUIRES(context, st.in_height < (1 << 24) && st.in_width < (1 << 24), in Compute() 139 const Eigen::Index in_height = input.dimension(1); in operator ()() local 155 in_height - 1); in operator ()() 182 in_height - 1); in operator ()() 243 const int64 in_height = input.dim_size(1); in Compute() local 264 CalculateResizeScale(out_height, in_height, align_corners_); in Compute() 321 const Eigen::Index in_height = input.dimension(1); in operator ()() local 330 for (Eigen::Index y = 0; y < in_height; ++y) { in operator ()()
|
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_bilinear_op.cc | 113 const int64 in_height, const int64 in_width, const int64 out_height, 120 const int batch_size, const int64 in_height, in resize_image() argument 127 const int64 in_batch_num_values = in_height * in_row_size; in resize_image() 217 const int64 in_height = images.dimension(1); in operator ()() local 225 if (out_height == in_height && out_width == in_width) { in operator ()() 235 compute_interpolation_weights(HalfPixelScaler(), out_height, in_height, in operator ()() 241 compute_interpolation_weights(LegacyScaler(), out_height, in_height, in operator ()() 252 resize_image<T>(images, batch_size, in_height, in_width, out_height, in operator ()()
|
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 …]
|
D | image_resizer_state.h | 107 in_height = static_cast<int32>(input.dim_size(1)); in ValidateAndCalculateOutputSize() 118 height_scale = CalculateResizeScale(in_height, out_height, align_corners_); in ValidateAndCalculateOutputSize() 148 int64 in_height; member
|
/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 | 59 int dilation_rate_width, int in_height, int in_width, int filter_height, in ComputePaddingHeightWidth() argument 63 *out_height = ComputeOutSize(padding, in_height, filter_height, stride_height, in ComputePaddingHeightWidth() 69 ComputePaddingWithOffset(stride_height, dilation_rate_height, in_height, in ComputePaddingHeightWidth()
|
/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_MaxPool.pbtxt | 39 [batch, in_height, in_width, in_channels]. 41 [batch, in_channels, in_height, in_width].
|
D | api_def_MaxPoolV2.pbtxt | 39 [batch, in_height, in_width, in_channels]. 41 [batch, in_channels, in_height, in_width].
|
D | api_def_AvgPool3D.pbtxt | 40 [batch, in_depth, in_height, in_width, in_channels]. 42 [batch, in_channels, in_depth, 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_MaxPoolGradGrad.pbtxt | 51 [batch, in_height, in_width, in_channels]. 53 [batch, in_channels, in_height, in_width].
|
/external/webrtc/talk/media/base/ |
D | videoadapter.cc | 260 VideoFormat VideoAdapter::AdaptFrameResolution(int in_width, int in_height) { in AdaptFrameResolution() argument 265 in_width, in_height, input_format_.interval, input_format_.fourcc)); in AdaptFrameResolution() 296 << "x" << in_height in AdaptFrameResolution() 305 in_width, in_height, output_num_pixels_); in AdaptFrameResolution() 307 const int output_height = static_cast<int>(in_height * scale + .5f); in AdaptFrameResolution() 335 << "x" << in_height in AdaptFrameResolution()
|
/external/webrtc/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/ |
D | ViESurfaceRenderer.java | 61 int in_width, int in_height) { in surfaceChanged() argument 64 changeDestRect(in_width, in_height); in surfaceChanged() 67 " in_width:" + in_width + " in_height:" + in_height + in surfaceChanged()
|