Home
last modified time | relevance | path

Searched refs:out_x (Results 1 – 25 of 68) sorted by relevance

123

/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dpooling.h44 for (int out_x = 0; out_x < output_width; ++out_x) { in AveragePool() local
47 (out_x * stride_width) - params.padding_values.width; in AveragePool()
73 output_data[Offset(output_shape, batch, out_y, out_x, channel)] = in AveragePool()
102 for (int out_x = 0; out_x < output_width; ++out_x) { in AveragePool() local
105 (out_x * stride_width) - params.padding_values.width; in AveragePool()
133 output_data[Offset(output_shape, batch, out_y, out_x, channel)] = in AveragePool()
157 for (int out_x = 0; out_x < output_width; ++out_x) { in L2Pool() local
160 (out_x * stride_width) - params.padding_values.width; in L2Pool()
186 output_data[Offset(output_shape, batch, out_y, out_x, channel)] = in L2Pool()
211 for (int out_x = 0; out_x < output_width; ++out_x) { in MaxPool() local
[all …]
Dtranspose_conv.h81 const int out_x = out_x_origin + filter_x; in TransposeConv() local
84 if ((out_x >= 0) && (out_x < output_width) && (out_y >= 0) && in TransposeConv()
91 output_data[Offset(output_shape, batch, out_y, out_x, in TransposeConv()
105 for (int out_x = 0; out_x < output_width; ++out_x) { in TransposeConv() local
107 output_data[Offset(output_shape, batch, out_y, out_x, in TransposeConv()
172 const int out_x = out_x_origin + filter_x; in TransposeConv() local
175 if ((out_x >= 0) && (out_x < output_width) && (out_y >= 0) && in TransposeConv()
182 scratch_buffer[Offset(output_shape, batch, out_y, out_x, in TransposeConv()
196 for (int out_x = 0; out_x < output_width; ++out_x) { in TransposeConv() local
198 int32_t acc = scratch_buffer[Offset(output_shape, batch, out_y, out_x, in TransposeConv()
[all …]
Dconv.h67 for (int out_x = 0; out_x < output_width; ++out_x) { in Conv() local
68 const int in_x_origin = (out_x * stride_width) - pad_width; in Conv()
100 output_data[Offset(output_shape, batch, out_y, out_x, out_channel)] = in Conv()
156 for (int out_x = 0; out_x < output_width; ++out_x) { in Conv() local
157 const int in_x_origin = (out_x * stride_width) - pad_width; in Conv()
195 output_data[Offset(output_shape, batch, out_y, out_x, out_channel)] = in Conv()
242 for (int out_x = 0; out_x < output_width; ++out_x) { in HybridConvPerChannel() local
245 const int in_x_origin = (out_x * stride_width) - pad_width; in HybridConvPerChannel()
275 output_data[Offset(output_shape, batch, out_y, out_x, out_channel)] = in HybridConvPerChannel()
Ddepthwiseconv_uint8.h153 for (int out_x = 0; out_x < output_width; ++out_x) { in Run() local
157 const int in_x_origin = (out_x * stride_width) - pad_width; in Run()
187 output_data[Offset(output_shape, b, out_y, out_x, oc)] = in Run()
240 for (int out_x = 0; out_x < output_width; ++out_x) { in RunPerChannel() local
244 const int in_x_origin = (out_x * stride_width) - pad_width; in RunPerChannel()
290 output_data[Offset(output_shape, batch, out_y, out_x, in RunPerChannel()
Ddepthwiseconv_float.h58 for (int out_x = 0; out_x < output_width; ++out_x) { in DepthwiseConv() local
62 const int in_x_origin = (out_x * stride_width) - pad_width; in DepthwiseConv()
86 output_data[Offset(output_shape, b, out_y, out_x, oc)] = in DepthwiseConv()
Dconv3d.h59 for (int out_x = 0; out_x < output_width; ++out_x) { in Conv3D() local
60 const int in_x_origin = (out_x * params.stride_width) - pad_width; in Conv3D()
99 output_data[Offset(output_shape, batch, out_d, out_y, out_x, in Conv3D()
Dconv3d_transpose.h79 const int out_x = in Conv3DTranspose() local
86 if ((out_x >= 0) && (out_x < output_width) && in Conv3DTranspose()
95 out_x, out_channel)] += in Conv3DTranspose()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dtranspose_conv.h80 const int out_x = out_x_origin + filter_x; in TransposeConv() local
83 if ((out_x >= 0) && (out_x < output_width) && (out_y >= 0) && in TransposeConv()
90 scratch_buffer[Offset(output_shape, batch, out_y, out_x, in TransposeConv()
104 for (int out_x = 0; out_x < output_width; ++out_x) { in TransposeConv() local
106 int32_t acc = scratch_buffer[Offset(output_shape, batch, out_y, out_x, in TransposeConv()
116 output_data[Offset(output_shape, batch, out_y, out_x, out_channel)] = in TransposeConv()
178 const int out_x = out_x_origin + filter_x; in TransposeConv() local
181 if ((out_x >= 0) && (out_x < output_width) && (out_y >= 0) && in TransposeConv()
188 scratch_buffer[Offset(output_shape, batch, out_y, out_x, in TransposeConv()
202 for (int out_x = 0; out_x < output_width; ++out_x) { in TransposeConv() local
[all …]
Dpooling.h44 for (int out_x = 0; out_x < output_width; ++out_x) { in AveragePool() local
47 (out_x * stride_width) - params.padding_values.width; in AveragePool()
77 output_data[Offset(output_shape, batch, out_y, out_x, channel)] = in AveragePool()
107 for (int out_x = 0; out_x < output_width; ++out_x) { in MaxPool() local
110 (out_x * stride_width) - params.padding_values.width; in MaxPool()
135 output_data[Offset(output_shape, batch, out_y, out_x, channel)] = in MaxPool()
162 for (int out_x = 0; out_x < output_width; ++out_x) { in AveragePool() local
165 (out_x * stride_width) - params.padding_values.width; in AveragePool()
195 output_data[Offset(output_shape, batch, out_y, out_x, channel)] = in AveragePool()
225 for (int out_x = 0; out_x < output_width; ++out_x) { in MaxPool() local
[all …]
Ddepthwise_conv.h65 for (int out_x = 0; out_x < output_width; ++out_x) { in DepthwiseConvPerChannel() local
69 const int in_x_origin = (out_x * stride_width) - pad_width; in DepthwiseConvPerChannel()
115 output_data[Offset(output_shape, batch, out_y, out_x, in DepthwiseConvPerChannel()
162 for (int out_x = 0; out_x < output_width; ++out_x) { in DepthwiseConvPerChannel() local
166 const int in_x_origin = (out_x * stride_width) - pad_width; in DepthwiseConvPerChannel()
200 output_data[Offset(output_shape, batch, out_y, out_x, in DepthwiseConvPerChannel()
246 for (int out_x = 0; out_x < output_width; ++out_x) { in DepthwiseConvHybridPerChannel() local
250 const int in_x_origin = (out_x * stride_width) - pad_width; in DepthwiseConvHybridPerChannel()
277 output_data[Offset(output_shape, batch, out_y, out_x, in DepthwiseConvHybridPerChannel()
Dconv.h73 for (int out_x = 0; out_x < output_width; ++out_x) { in ConvPerChannel() local
74 const int in_x_origin = (out_x * stride_width) - pad_width; in ConvPerChannel()
128 output_data[Offset(output_shape, batch, out_y, out_x, out_channel)] = in ConvPerChannel()
184 for (int out_x = 0; out_x < output_width; ++out_x) { in ConvPerChannel() local
185 const int in_x_origin = (out_x * stride_width) - pad_width; in ConvPerChannel()
227 output_data[Offset(output_shape, batch, out_y, out_x, out_channel)] = in ConvPerChannel()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/
Dpooling.h72 for (int out_x = 0; out_x < output_width; ++out_x) { in MaxPool() local
74 (out_x * stride_width) - params.padding_values.width; in MaxPool()
119 out_x, depth_base); in MaxPool()
182 for (int out_x = 0; out_x < output_width; ++out_x) { in AveragePool() local
184 (out_x * stride_width) - params.padding_values.width; in AveragePool()
242 out_x, depth_base); in AveragePool()
Ddepthwise_conv_hybrid_3x3_filter.h2842 int32 out_x = start_x;
2851 for (; out_x <= (end_x - shuffle_params.output_width);
2852 out_x += shuffle_params.output_width) {
2915 const int32 output_leftover_width = end_x - out_x;
2967 for (int32 out_x = out_x_start_corner + 1; out_x < out_x_end_corner;
2968 out_x++) {
3029 for (int32 out_x = out_x_start_corner + 1; out_x < out_x_end_corner;
3030 out_x++) {
3151 int32 out_x = 0;
3161 out_x = 1;
[all …]
Ddepthwise_conv_3x3_filter.h2675 int32 out_x = start_x;
2683 for (; out_x <= (end_x - shuffle_params.output_width);
2684 out_x += shuffle_params.output_width) {
2747 const int32 output_leftover_width = end_x - out_x;
2799 for (int32 out_x = out_x_start_corner + 1; out_x < out_x_end_corner;
2800 out_x++) {
2862 for (int32 out_x = out_x_start_corner + 1; out_x < out_x_end_corner;
2863 out_x++) {
2993 int32 out_x = 0;
3004 out_x = 1;
[all …]
/external/tensorflow/tensorflow/core/kernels/image/
Dresize_nearest_neighbor_op_gpu.cu.cc44 int out_x = n % out_width; in ResizeNearestNeighborNHWC() local
57 floorf((static_cast<float>(out_x) + 0.5f) * width_scale)), in ResizeNearestNeighborNHWC()
75 int out_x = n % out_width; in LegacyResizeNearestNeighborNHWC() local
86 min((align_corners) ? static_cast<int>(roundf(out_x * width_scale)) in LegacyResizeNearestNeighborNHWC()
87 : static_cast<int>(floorf(out_x * width_scale)), in LegacyResizeNearestNeighborNHWC()
115 const int out_x = in ResizeNearestNeighborBackwardNHWC() local
120 const int idx = (out_y * out_width + out_x) * channels + c; in ResizeNearestNeighborBackwardNHWC()
145 const int out_x = in LegacyResizeNearestNeighborBackwardNHWC() local
149 const int idx = (out_y * out_width + out_x) * channels + c; in LegacyResizeNearestNeighborBackwardNHWC()
/external/ComputeLibrary/src/core/NEON/kernels/
DNEDepthToSpaceLayerKernel.cpp132 const int out_x = x * _block_shape + (id.z() / r) % _block_shape; in run() local
134 Coordinates output_coords{ out_x, out_y, z, id[3] }; in run()
153 const int out_x = x * _block_shape + (id.x() / r) % _block_shape; in run() local
155 Coordinates output_coords{ z, out_x, out_y, id[3] }; in run()
DNEBatchToSpaceLayerKernel.cpp179 const int out_x = x * _block_shape_x + (batch_id / r) % _block_shape_x; in run() local
181 Coordinates output_coords{ out_x, out_y, z, w }; in run()
202 const int out_x = x * _block_shape_x + (batch_id / r) % _block_shape_x; in run() local
204 Coordinates output_coords{ z, out_x, out_y, w }; in run()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Dim2col_utils.h163 for (int out_x = 0; out_x < output_width; ++out_x) { in DilatedIm2col() local
166 int row_offset = Offset(row_shape, 0, batch, out_y, out_x); in DilatedIm2col()
167 const int in_x_origin = (out_x * stride_width) - pad_width; in DilatedIm2col()
458 for (int out_x = 0; out_x < output_width; ++out_x) { in DilatedIm2col3D() local
459 const int in_x_origin = (out_x * params.stride_width) - pad_width; in DilatedIm2col3D()
461 Offset(row_shape, 0, batch, out_d, out_y, out_x); in DilatedIm2col3D()
/external/tensorflow/tensorflow/core/kernels/
Dconv_ops_using_gemm.cc132 for (int out_x = 0; out_x < output_width; ++out_x) { in operator ()() local
154 const int in_x_origin = (out_x * stride_cols) - filter_left_offset; in operator ()()
187 (out_x * filter_count) + out_channel] = total; in operator ()()
338 const int64_t out_x = patch_index % output_width; in operator ()() local
342 const int in_x_origin = (out_x * stride_cols) - filter_left_offset; in operator ()()
Dquantized_conv_ops.cc110 for (int out_x = 0; out_x < output_width; ++out_x) { in operator ()() local
132 const int in_x_origin = (out_x * stride) - filter_left_offset; in operator ()()
181 (out_x * filter_count) + out_channel] = clamped_output; in operator ()()
314 const int64_t out_x = patch_index % output_width; in operator ()() local
318 const int in_x_origin = (out_x * stride) - filter_left_offset; in operator ()()
/external/tensorflow/tensorflow/lite/kernels/perception/
Dmax_pool_with_argmax.cc52 for (int32_t out_x = 0; out_x < output_width; ++out_x) { in MaxPool() local
55 (out_x * stride_width) - params.padding_values.width; in MaxPool()
86 Offset(output_shape, batch, out_y, out_x, channel); in MaxPool()
/external/ComputeLibrary/tests/validation/reference/
DDeconvolutionLayer.cpp57 unsigned int out_x = (src.shape().x() - 1) * stride_x + 1; in deconvolution_layer() local
61 unsigned int deconv_pad_x = output_shape.x() - (out_x - weights_width + 1); in deconvolution_layer()
63 out_x += deconv_pad_x; in deconvolution_layer()
81 scaled_shape.set(0, out_x); in deconvolution_layer()
DBatchToSpaceLayer.cpp59 const int out_x = (block_shape[0] * x + (batch / r) % block_shape[0]); in batch_to_space() local
61 …const int out_pos = out_x + dst_shape[0] * out_y + z * dst_shape[0] * dst_shape[1] + (batch % r) *… in batch_to_space()
DDepthToSpaceLayer.cpp59 const int out_x = (block_shape * x + (z / r) % block_shape); in depth_to_space() local
61 …const int out_pos = out_x + dst_shape[0] * out_y + (z % r) * dst_shape[0] * dst_shape[1] + b * dst… in depth_to_space()
/external/freetype/src/autofit/
Dafhints.c981 FT_Pos out_x, out_y; in af_glyph_hints_reload() local
1007 out_x = point->fx - prev->fx; in af_glyph_hints_reload()
1010 if ( FT_ABS( out_x ) + FT_ABS( out_y ) < near_limit ) in af_glyph_hints_reload()
1076 FT_Pos out_x, out_y; in af_glyph_hints_reload() local
1088 out_x = point->fx - prev->fx; in af_glyph_hints_reload()
1099 if ( FT_ABS( out_x ) + FT_ABS( out_y ) >= near_limit2 ) in af_glyph_hints_reload()
1125 out_x = 0; in af_glyph_hints_reload()
1137 out_x += next->fx - point->fx; in af_glyph_hints_reload()
1140 if ( FT_ABS( out_x ) + FT_ABS( out_y ) < near_limit ) in af_glyph_hints_reload()
1149 out_dir = af_direction_compute( out_x, out_y ); in af_glyph_hints_reload()
[all …]

123