Home
last modified time | relevance | path

Searched refs:in_height (Results 1 – 25 of 61) sorted by relevance

123

/external/tensorflow/tensorflow/core/kernels/
Dresize_nearest_neighbor_op_gpu.cu.cc37 const int nthreads, const T* bottom_data, const int in_height, in ResizeNearestNeighborNHWC() argument
50 const T* bottom_data_n = bottom_data + n * channels * in_height * in_width; in ResizeNearestNeighborNHWC()
54 in_height - 1), in ResizeNearestNeighborNHWC()
68 const int nthreads, const T* bottom_data, const int in_height, in LegacyResizeNearestNeighborNHWC() argument
81 const T* bottom_data_n = bottom_data + n * channels * in_height * in_width; in LegacyResizeNearestNeighborNHWC()
85 in_height - 1); in LegacyResizeNearestNeighborNHWC()
97 const int nthreads, const T* top_diff, const int in_height, in ResizeNearestNeighborBackwardNHWC() argument
107 int in_y = n % in_height; in ResizeNearestNeighborBackwardNHWC()
108 n /= in_height; in ResizeNearestNeighborBackwardNHWC()
128 const int nthreads, const T* top_diff, const int in_height, in LegacyResizeNearestNeighborBackwardNHWC() argument
[all …]
Dresize_bilinear_op_gpu.cu.cc38 int batch, int in_height, int in_width, in ResizeBilinearKernel() argument
55 (in_y < in_height - 1) ? ceilf(in_y) : in_height - 1; in ResizeBilinearKernel()
65 images[((b * in_height + top_y_index) * in_width + left_x_index) * in ResizeBilinearKernel()
69 images[((b * in_height + top_y_index) * in_width + right_x_index) * in ResizeBilinearKernel()
73 images[((b * in_height + bottom_y_index) * in_width + left_x_index) * in ResizeBilinearKernel()
77 images[((b * in_height + bottom_y_index) * in_width + right_x_index) * in ResizeBilinearKernel()
153 int in_height, int in_width, in LegacyResizeBilinearKernel() argument
169 (in_y < in_height - 1) ? ceilf(in_y) : in_height - 1; in LegacyResizeBilinearKernel()
179 images[((b * in_height + top_y_index) * in_width + left_x_index) * in LegacyResizeBilinearKernel()
183 images[((b * in_height + top_y_index) * in_width + right_x_index) * in LegacyResizeBilinearKernel()
[all …]
Ddepthwise_conv_op_gpu.h78 const int in_height = args.in_rows; in DepthwiseConv2dGPUKernelNHWC() local
113 const int input_offset_temp = in_height * batch; in DepthwiseConv2dGPUKernelNHWC()
115 input_row_end < in_height && input_col_end < in_width) { in DepthwiseConv2dGPUKernelNHWC()
142 if (in_row >= 0 && in_row < in_height && in_col >= 0 && in DepthwiseConv2dGPUKernelNHWC()
185 const int in_height = args.in_rows; in DepthwiseConv2dGPUKernelNHWCSmall() local
203 const int in_size = in_height * in_row_size; in DepthwiseConv2dGPUKernelNHWCSmall()
207 const int even_height = kKnownEvenHeight || (1 & ~in_height); in DepthwiseConv2dGPUKernelNHWCSmall()
208 const int tile_height = in_height + filter_height - even_height; in DepthwiseConv2dGPUKernelNHWCSmall()
250 !kKnownEvenHeight && thread_row + (in_height & 1) == block_height; in DepthwiseConv2dGPUKernelNHWCSmall()
318 const int in_height = args.in_rows; in DepthwiseConv2dGPUKernelNCHW() local
[all …]
Dquantized_resize_bilinear_op_test.cc110 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 …]
Dresize_area_op_test.cc63 const int64 in_height = input_data.dimension(1); in ResizeAreaBaseline() local
73 const float height_scale = in_height / static_cast<float>(out_height); in ResizeAreaBaseline()
130 static_cast<float>(input_data(b, BOUND(i, in_height), in ResizeAreaBaseline()
146 void RunRandomTest(int in_height, int in_width, int target_height, in RunRandomTest() argument
149 SetRandomImageInput(TensorShape({1, in_height, in_width, channels})); in RunRandomTest()
Dresize_nearest_neighbor_op.cc54 OP_REQUIRES(context, st.in_height < (1 << 24) && st.in_width < (1 << 24), in Compute()
138 const Eigen::Index in_height = input.dimension(1); in operator ()() local
151 in_height - 1); in operator ()()
204 const int64 in_height = input.dim_size(1); in Compute() local
225 CalculateResizeScale(out_height, in_height, align_corners_); in Compute()
282 const Eigen::Index in_height = input.dimension(1); in operator ()() local
291 for (Eigen::Index y = 0; y < in_height; ++y) { in operator ()()
Dresize_bicubic_op_test.cc114 const int64 in_height = images.dimension(1); in ResizeBicubicBaseline() local
124 const float height_scale = in_height / static_cast<float>(out_height); in ResizeBicubicBaseline()
132 GetWeightsAndIndices(height_scale, y, in_height, &y_weights, in ResizeBicubicBaseline()
159 void RunRandomTest(const int batch_size, const int64 in_height, in RunRandomTest() argument
162 LOG(INFO) << "Running random test " << in_height << "x" << in_width << "x" in RunRandomTest()
166 TensorShape({batch_size, in_height, in_width, channels})); in RunRandomTest()
Dresize_bilinear_op.cc113 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 ()()
234 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 ()()
Dquantized_resize_bilinear_op.cc468 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 …]
Dimage_resizer_state.h105 in_height = static_cast<int32>(input.dim_size(1)); in ValidateAndCalculateOutputSize()
116 height_scale = CalculateResizeScale(in_height, out_height, align_corners_); in ValidateAndCalculateOutputSize()
146 int64 in_height; member
Dscale_and_translate_op_test.cc99 const int64 in_height = images.dimension(1); in Sample() local
103 static_cast<int64>(0), in_height - 1, in Sample()
107 Clamp(static_cast<int64>(0), in_height - 1, in Sample()
124 sample_f.y() > in_height) { in Sample()
174 const int64 in_height = images.dimension(1); in ScaleAndTranslateBaseline() local
185 in_y_f > in_height) { in ScaleAndTranslateBaseline()
/external/tensorflow/tensorflow/lite/kernels/
Dpadding.h43 int stride_height, int stride_width, int dilation_rate, int in_height, in ComputePaddingHeightWidth() argument
47 ComputeOutSize(padding, in_height, filter_height, stride_height); in ComputePaddingHeightWidth()
51 ComputePadding(stride_height, 1, in_height, filter_height, out_height); in ComputePaddingHeightWidth()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_Conv3D.pbtxt6 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].
Dapi_def_Conv2DBackpropFilter.pbtxt6 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].
Dapi_def_Conv2DBackpropInput.pbtxt27 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].
Dapi_def_Dilation2DBackpropInput.pbtxt6 4-D with shape `[batch, in_height, in_width, depth]`.
24 4-D with shape `[batch, in_height, in_width, depth]`.
Dapi_def_MaxPool.pbtxt39 [batch, in_height, in_width, in_channels].
41 [batch, in_channels, in_height, in_width].
Dapi_def_MaxPoolV2.pbtxt39 [batch, in_height, in_width, in_channels].
41 [batch, in_channels, in_height, in_width].
Dapi_def_MaxPool3D.pbtxt40 [batch, in_depth, in_height, in_width, in_channels].
42 [batch, in_channels, in_depth, in_height, in_width].
Dapi_def_AvgPool3D.pbtxt40 [batch, in_depth, in_height, in_width, in_channels].
42 [batch, in_channels, in_depth, in_height, in_width].
Dapi_def_AvgPool.pbtxt38 [batch, in_height, in_width, in_channels].
40 [batch, in_channels, in_height, in_width].
Dapi_def_MaxPoolGradGrad.pbtxt51 [batch, in_height, in_width, in_channels].
53 [batch, in_channels, in_height, in_width].
Dapi_def_MaxPool3DGrad.pbtxt46 [batch, in_depth, in_height, in_width, in_channels].
48 [batch, in_channels, in_depth, in_height, in_width].
/external/webrtc/talk/media/base/
Dvideoadapter.cc260 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/
DViESurfaceRenderer.java61 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()

123