/external/tensorflow/tensorflow/lite/kernels/internal/reference/ |
D | pooling.h | 42 for (int out_x = 0; out_x < output_width; ++out_x) { in AveragePool() local 45 (out_x * stride_width) - params.padding_values.width; in AveragePool() 70 output_data[Offset(output_shape, batch, out_y, out_x, channel)] = in AveragePool() 98 for (int out_x = 0; out_x < output_width; ++out_x) { in AveragePool() local 101 (out_x * stride_width) - params.padding_values.width; in AveragePool() 128 output_data[Offset(output_shape, batch, out_y, out_x, channel)] = in AveragePool() 151 for (int out_x = 0; out_x < output_width; ++out_x) { in L2Pool() local 154 (out_x * stride_width) - params.padding_values.width; in L2Pool() 180 output_data[Offset(output_shape, batch, out_y, out_x, channel)] = in L2Pool() 205 for (int out_x = 0; out_x < output_width; ++out_x) { in MaxPool() local [all …]
|
D | transpose_conv.h | 79 const int out_x = out_x_origin + filter_x; in TransposeConv() local 82 if ((out_x >= 0) && (out_x < output_width) && (out_y >= 0) && in TransposeConv() 89 output_data[Offset(output_shape, batch, out_y, out_x, in TransposeConv() 103 for (int out_x = 0; out_x < output_width; ++out_x) { in TransposeConv() local 105 output_data[Offset(output_shape, batch, out_y, out_x, in TransposeConv() 170 const int out_x = out_x_origin + filter_x; in TransposeConv() local 173 if ((out_x >= 0) && (out_x < output_width) && (out_y >= 0) && in TransposeConv() 180 scratch_buffer[Offset(output_shape, batch, out_y, out_x, in TransposeConv() 194 for (int out_x = 0; out_x < output_width; ++out_x) { in TransposeConv() local 196 int32_t acc = scratch_buffer[Offset(output_shape, batch, out_y, out_x, in TransposeConv() [all …]
|
D | conv.h | 60 for (int out_x = 0; out_x < output_width; ++out_x) { in Conv() local 61 const int in_x_origin = (out_x * stride_width) - pad_width; in Conv() 91 output_data[Offset(output_shape, batch, out_y, out_x, out_channel)] = in Conv() 143 for (int out_x = 0; out_x < output_width; ++out_x) { in Conv() local 144 const int in_x_origin = (out_x * stride_width) - pad_width; in Conv() 179 output_data[Offset(output_shape, batch, out_y, out_x, out_channel)] = in Conv() 222 for (int out_x = 0; out_x < output_width; ++out_x) { in HybridConvPerChannel() local 224 const int in_x_origin = (out_x * stride_width) - pad_width; in HybridConvPerChannel() 252 output_data[Offset(output_shape, batch, out_y, out_x, out_channel)] = in HybridConvPerChannel()
|
D | depthwiseconv_uint8.h | 131 for (int out_x = 0; out_x < output_width; ++out_x) { in Run() local 135 const int in_x_origin = (out_x * stride_width) - pad_width; in Run() 165 output_data[Offset(output_shape, b, out_y, out_x, oc)] = in Run() 218 for (int out_x = 0; out_x < output_width; ++out_x) { in RunPerChannel() local 222 const int in_x_origin = (out_x * stride_width) - pad_width; in RunPerChannel() 268 output_data[Offset(output_shape, batch, out_y, out_x, in RunPerChannel()
|
D | depthwiseconv_float.h | 58 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()
|
D | conv3d.h | 59 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()
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/ |
D | transpose_conv.h | 78 const int out_x = out_x_origin + filter_x; in TransposeConv() local 81 if ((out_x >= 0) && (out_x < output_width) && (out_y >= 0) && in TransposeConv() 88 scratch_buffer[Offset(output_shape, batch, out_y, out_x, in TransposeConv() 102 for (int out_x = 0; out_x < output_width; ++out_x) { in TransposeConv() local 104 int32_t acc = scratch_buffer[Offset(output_shape, batch, out_y, out_x, in TransposeConv() 114 output_data[Offset(output_shape, batch, out_y, out_x, out_channel)] = in TransposeConv() 175 const int out_x = out_x_origin + filter_x; in TransposeConv() local 178 if ((out_x >= 0) && (out_x < output_width) && (out_y >= 0) && in TransposeConv() 185 scratch_buffer[Offset(output_shape, batch, out_y, out_x, in TransposeConv() 199 for (int out_x = 0; out_x < output_width; ++out_x) { in TransposeConv() local [all …]
|
D | pooling.h | 42 for (int out_x = 0; out_x < output_width; ++out_x) { in AveragePool() local 45 (out_x * stride_width) - params.padding_values.width; in AveragePool() 74 output_data[Offset(output_shape, batch, out_y, out_x, channel)] = in AveragePool() 103 for (int out_x = 0; out_x < output_width; ++out_x) { in MaxPool() local 106 (out_x * stride_width) - params.padding_values.width; in MaxPool() 131 output_data[Offset(output_shape, batch, out_y, out_x, channel)] = in MaxPool() 158 for (int out_x = 0; out_x < output_width; ++out_x) { in AveragePool() local 161 (out_x * stride_width) - params.padding_values.width; in AveragePool() 190 output_data[Offset(output_shape, batch, out_y, out_x, channel)] = in AveragePool() 219 for (int out_x = 0; out_x < output_width; ++out_x) { in MaxPool() local [all …]
|
D | depthwise_conv.h | 63 for (int out_x = 0; out_x < output_width; ++out_x) { in DepthwiseConvPerChannel() local 67 const int in_x_origin = (out_x * stride_width) - pad_width; in DepthwiseConvPerChannel() 113 output_data[Offset(output_shape, batch, out_y, out_x, in DepthwiseConvPerChannel() 160 for (int out_x = 0; out_x < output_width; ++out_x) { in DepthwiseConvPerChannel() local 164 const int in_x_origin = (out_x * stride_width) - pad_width; in DepthwiseConvPerChannel() 198 output_data[Offset(output_shape, batch, out_y, out_x, in DepthwiseConvPerChannel() 244 for (int out_x = 0; out_x < output_width; ++out_x) { in DepthwiseConvHybridPerChannel() local 248 const int in_x_origin = (out_x * stride_width) - pad_width; in DepthwiseConvHybridPerChannel() 275 output_data[Offset(output_shape, batch, out_y, out_x, in DepthwiseConvHybridPerChannel()
|
D | conv.h | 67 for (int out_x = 0; out_x < output_width; ++out_x) { in ConvPerChannel() local 68 const int in_x_origin = (out_x * stride_width) - pad_width; in ConvPerChannel() 119 output_data[Offset(output_shape, batch, out_y, out_x, out_channel)] = in ConvPerChannel() 170 for (int out_x = 0; out_x < output_width; ++out_x) { in ConvPerChannel() local 171 const int in_x_origin = (out_x * stride_width) - pad_width; in ConvPerChannel() 210 output_data[Offset(output_shape, batch, out_y, out_x, out_channel)] = in ConvPerChannel()
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/ |
D | pooling.h | 72 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() 241 out_x, depth_base); in AveragePool()
|
D | depthwise_conv_hybrid_3x3_filter.h | 2842 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 …]
|
D | depthwise_conv_3x3_filter.h | 2675 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/ |
D | resize_nearest_neighbor_op_gpu.cu.cc | 44 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/tensorflow/tensorflow/lite/micro/kernels/vexriscv/ |
D | depthwise_conv.cc | 76 for (int out_x = 0; out_x < output_width; ++out_x) { in DepthwiseConvPerChannel() local 78 const int in_x_origin = (out_x * stride_width) - pad_width; in DepthwiseConvPerChannel() 150 output_data[Offset(output_shape, batch, out_y, out_x, in DepthwiseConvPerChannel() 199 for (int out_x = 0; out_x < output_width; ++out_x) { in DepthwiseConv() local 201 const int in_x_origin = (out_x * stride_width) - pad_width; in DepthwiseConv() 257 output_data[Offset(output_shape, batch, out_y, out_x, in DepthwiseConv()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | conv_ops_using_gemm.cc | 132 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 out_x = patch_index % output_width; in operator ()() local 342 const int in_x_origin = (out_x * stride_cols) - filter_left_offset; in operator ()()
|
D | quantized_conv_ops.cc | 107 for (int out_x = 0; out_x < output_width; ++out_x) { in operator ()() local 129 const int in_x_origin = (out_x * stride) - filter_left_offset; in operator ()() 178 (out_x * filter_count) + out_channel] = clamped_output; in operator ()() 304 const int64 out_x = patch_index % output_width; in operator ()() local 308 const int in_x_origin = (out_x * stride) - filter_left_offset; in operator ()()
|
/external/tensorflow/tensorflow/lite/kernels/perception/ |
D | max_pool_with_argmax.cc | 49 for (int32_t out_x = 0; out_x < output_width; ++out_x) { in MaxPool() local 52 (out_x * stride_width) - params.padding_values.width; in MaxPool() 83 Offset(output_shape, batch, out_y, out_x, channel); in MaxPool()
|
/external/freetype/src/autofit/ |
D | afhints.c | 886 FT_Pos out_x, out_y; in af_glyph_hints_reload() local 912 out_x = point->fx - prev->fx; in af_glyph_hints_reload() 915 if ( FT_ABS( out_x ) + FT_ABS( out_y ) < near_limit ) in af_glyph_hints_reload() 981 FT_Pos out_x, out_y; in af_glyph_hints_reload() local 993 out_x = point->fx - prev->fx; in af_glyph_hints_reload() 1004 if ( FT_ABS( out_x ) + FT_ABS( out_y ) >= near_limit2 ) in af_glyph_hints_reload() 1030 out_x = 0; in af_glyph_hints_reload() 1042 out_x += next->fx - point->fx; in af_glyph_hints_reload() 1045 if ( FT_ABS( out_x ) + FT_ABS( out_y ) < near_limit ) in af_glyph_hints_reload() 1054 out_dir = af_direction_compute( out_x, out_y ); in af_glyph_hints_reload() [all …]
|
/external/tensorflow/tensorflow/lite/micro/kernels/xtensa/ |
D | conv.cc | 74 for (int out_x = 0; out_x < output_width; ++out_x) { in ConvPerChannel() local 75 const int in_x_origin = (out_x * stride_width) - pad_width; in ConvPerChannel() 157 ((batch * output_height + out_y) * output_width + out_x) * in ConvPerChannel()
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/ |
D | im2col_utils.h | 162 for (int out_x = 0; out_x < output_width; ++out_x) { in DilatedIm2col() local 165 int row_offset = Offset(row_shape, 0, batch, out_y, out_x); in DilatedIm2col() 166 const int in_x_origin = (out_x * stride_width) - pad_width; in DilatedIm2col()
|
/external/freetype/src/base/ |
D | ftcalc.c | 982 FT_Pos out_x, in ft_corner_orientation() argument 991 MUL_INT64( in_y, out_x ) ); in ft_corner_orientation() 1002 ADD_LONG( FT_ABS( in_y ), FT_ABS( out_x ) ) <= 131071L ) in ft_corner_orientation() 1005 FT_Long z2 = MUL_LONG( in_y, out_x ); in ft_corner_orientation() 1022 ft_multo64( (FT_UInt32)in_y, (FT_UInt32)out_x, &z2 ); in ft_corner_orientation() 1048 FT_Pos out_x, in ft_corner_is_flat() argument 1051 FT_Pos ax = in_x + out_x; in ft_corner_is_flat() 1077 d_out = FT_HYPOT( out_x, out_y ); in ft_corner_is_flat()
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | depthwiseconv_per_channel_quantized_16x8_test.cc | 67 for (int out_x = 0; out_x < output_width; ++out_x) { in PickOutputMultiplier() local 71 const int in_x_origin = (out_x * stride_width) - pad_width; in PickOutputMultiplier()
|
D | depthwiseconv_per_channel_quantized_test.cc | 69 for (int out_x = 0; out_x < output_width; ++out_x) { in PickOutputMultiplier() local 73 const int in_x_origin = (out_x * stride_width) - pad_width; in PickOutputMultiplier()
|
D | conv_per_channel_quantized_16x8_test.cc | 67 for (int out_x = 0; out_x < output_width; ++out_x) { in PickOutputMultiplier() local 70 const int in_x_origin = (out_x * stride_width) - pad_width; in PickOutputMultiplier()
|