Home
last modified time | relevance | path

Searched refs:filter_width (Results 1 – 25 of 132) sorted by relevance

123456

/external/tensorflow/tensorflow/lite/micro/kernels/
Dpooling_test.cc31 const int filter_height, const int filter_width, in ValidatePoolingGoldens() argument
44 filter_width, in ValidatePoolingGoldens()
62 const int filter_height, const int filter_width, in TestAveragePoolFloat() argument
84 filter_width, stride_height, stride_width, in TestAveragePoolFloat()
92 const int input_zero_point, const int filter_height, const int filter_width, in TestAveragePoolQuantized() argument
116 filter_width, stride_height, stride_width, in TestAveragePoolQuantized()
122 int filter_width, int filter_height, int stride_width, in TestMaxPoolFloat() argument
141 filter_width, stride_height, stride_width, in TestMaxPoolFloat()
149 const int filter_height, const int filter_width, in TestMaxPoolQuantized() argument
172 filter_width, stride_height, stride_width, in TestMaxPoolQuantized()
[all …]
Dpooling.cc56 params->filter_width, params->padding, &out_height, &out_width); in CalculateOpData()
68 op_params.filter_width = params->filter_width; in AverageEvalFloat()
89 op_params.filter_width = params->filter_width; in AverageEvalQuantized()
116 op_params.filter_width = params->filter_width; in MaxEvalFloat()
134 op_params.filter_width = params->filter_width; in MaxEvalQuantized()
/external/libaom/libaom/test/
Dcnn_test.cc122 weight_offset += layer_config->filter_width * in AssignLayerWeightsBiases()
139 int filter_width = 4; in TEST_F() local
249 filter_width, in TEST_F()
269 filter_width, in TEST_F()
289 filter_width, in TEST_F()
337 int filter_width = 4; in TEST_F() local
371 filter_width, in TEST_F()
697 cnn_config.layer_config[0].filter_width = 4; in TEST_F()
971 cnn_config.layer_config[0].filter_width = 20; in TEST_F()
986 int filter_width = 4; in TEST_F() local
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/
Daveragepool_quantized_test.cc70 const int filter_width = UniformRandomInt(1, 10); in CreateDataAndRunAveragePool() local
72 const int input_width = input_width_offset + filter_width; in CreateDataAndRunAveragePool()
76 : (input_width - filter_width + stride_width) / stride_width; in CreateDataAndRunAveragePool()
94 params.filter_width = filter_width; in CreateDataAndRunAveragePool()
105 compute_padding(stride_width, input_width, filter_width, output_width); in CreateDataAndRunAveragePool()
133 const int filter_width = UniformRandomInt(1, 28); in CreateExtremalDataAndRunAveragePool() local
135 if (filter_width * filter_height > 64) { in CreateExtremalDataAndRunAveragePool()
138 const int input_width = input_width_offset + filter_width; in CreateExtremalDataAndRunAveragePool()
142 : (input_width - filter_width + stride_width) / stride_width; in CreateExtremalDataAndRunAveragePool()
157 params.filter_width = filter_width; in CreateExtremalDataAndRunAveragePool()
[all …]
Dmaxpool_quantized_test.cc66 const int filter_width = UniformRandomInt(1, 10); in CreateDataAndRunMaxPool() local
68 const int input_width = input_width_offset + filter_width; in CreateDataAndRunMaxPool()
72 : (input_width - filter_width + stride_width) / stride_width; in CreateDataAndRunMaxPool()
90 params.filter_width = filter_width; in CreateDataAndRunMaxPool()
101 compute_padding(stride_width, input_width, filter_width, output_width); in CreateDataAndRunMaxPool()
Dconv_per_channel_quantized_16x8_test.cc57 const int filter_width = filter_shape.Dims(2); in PickOutputMultiplier() local
74 for (int filter_x = 0; filter_x < filter_width; ++filter_x) { in PickOutputMultiplier()
143 int filter_width, int filter_height, int dilation_width_factor, in GenerateValidShapeConfigurations() argument
161 {output_depth, filter_height, filter_width, input_depth}); in GenerateValidShapeConfigurations()
164 *input_shape_inference, output_depth, filter_width, filter_height, in GenerateValidShapeConfigurations()
184 const int filter_width = UniformRandomInt(2, 5); in TryTestOneConvFilter() local
186 std::cout << "Test number " << test_num << " (" << filter_width << "," in TryTestOneConvFilter()
206 filter_width, filter_height, dilation_width_factor, in TryTestOneConvFilter()
Ddepthwiseconv_float_test.cc78 const int filter_width = ExponentialRandomPositiveInt(0.9f, 4, 10); in TryTestOneDepthwiseConv() local
109 if (!ComputeConvSizes(input_shape_inference, output_depth, filter_width, in TryTestOneDepthwiseConv()
116 {1, filter_height, filter_width, output_depth}); in TryTestOneDepthwiseConv()
126 filter_width * filter_height * input_amplitude * filter_amplitude; in TryTestOneDepthwiseConv()
Ddepthwiseconv_per_channel_quantized_16x8_test.cc58 const int filter_width = filter_shape.Dims(2); in PickOutputMultiplier() local
75 for (int filter_x = 0; filter_x < filter_width; ++filter_x) { in PickOutputMultiplier()
142 int filter_width, int filter_height, int depth_multiplier, in GenerateValidShapeConfigurations() argument
161 {1, filter_height, filter_width, output_depth}); in GenerateValidShapeConfigurations()
164 *input_shape_inference, output_depth, filter_width, filter_height, in GenerateValidShapeConfigurations()
184 const int filter_width = 3; in TryTestOneDepthwiseConv3x3Filter() local
205 filter_width, filter_height, depth_multiplier, in TryTestOneDepthwiseConv3x3Filter()
Ddepthwiseconv_per_channel_quantized_test.cc60 const int filter_width = filter_shape.Dims(2); in PickOutputMultiplier() local
77 for (int filter_x = 0; filter_x < filter_width; ++filter_x) { in PickOutputMultiplier()
190 int filter_width, int filter_height, int depth_multiplier, in GenerateValidShapeConfigurations() argument
209 {1, filter_height, filter_width, output_depth}); in GenerateValidShapeConfigurations()
212 *input_shape_inference, output_depth, filter_width, filter_height, in GenerateValidShapeConfigurations()
226 const int filter_width = 3; in TryTestOneDepthwiseConv3x3Filter() local
250 filter_width, filter_height, depth_multiplier, in TryTestOneDepthwiseConv3x3Filter()
/external/tensorflow/tensorflow/core/kernels/
Dconv_ops_using_gemm.cc93 int filter_width, int filter_count, int stride_rows, in operator ()() argument
114 ((output_width - 1) * stride_cols + filter_width - input_width + 1) / in operator ()()
121 ((output_width - 1) * stride_cols + filter_width - input_width) / 2; in operator ()()
158 for (int filter_x = 0; filter_x < filter_width; ++filter_x) { in operator ()()
177 filter_data[(filter_y * filter_width * input_depth * in operator ()()
216 int filter_width, int filter_count, int stride_rows, in operator ()() argument
226 if ((filter_width <= 0) || (filter_height <= 0) || (filter_count <= 0)) { in operator ()()
228 << filter_width << ", " << filter_height << ", " in operator ()()
240 if (filter_height == 1 && filter_width == 1 && stride_rows == 1 && in operator ()()
253 } else if (filter_height == input_height && filter_width == input_width && in operator ()()
[all …]
Deigen_benchmark_cpu_test.cc35 int filter_count, int filter_height, int filter_width) { in SpatialConvolution() argument
44 typename Benchmark::Dimensions filter_dims(filter_height, filter_width, in SpatialConvolution()
52 num_computed_elements * (input_depth * filter_height * filter_width); in SpatialConvolution()
63 int filter_width) { in SpatialConvolutionBackwardInput() argument
72 typename Benchmark::Dimensions filter_dims(filter_height, filter_width, in SpatialConvolutionBackwardInput()
79 num_computed_elements * (input_depth * filter_height * filter_width); in SpatialConvolutionBackwardInput()
90 int filter_width) { in SpatialConvolutionBackwardKernel() argument
99 typename Benchmark::Dimensions filter_dims(filter_height, filter_width, in SpatialConvolutionBackwardKernel()
252 int filter_count, int filter_height, int filter_width, in CuboidConvolution() argument
263 filter_height, filter_width, filter_planes, input_depth, filter_count); in CuboidConvolution()
[all …]
Dquantized_conv_ops.cc57 int filter_height, int filter_width, int filter_count, in operator ()() argument
91 ((output_width - 1) * stride + filter_width - input_width + 1) / 2; in operator ()()
96 ((output_width - 1) * stride + filter_width - input_width) / 2; in operator ()()
133 for (int filter_x = 0; filter_x < filter_width; ++filter_x) { in operator ()()
156 filter_data[(filter_y * filter_width * input_depth * in operator ()()
203 int filter_height, int filter_width, int filter_count, in operator ()() argument
224 filter_height, filter_width, filter_count, filter_offset, in operator ()()
236 ((output_width - 1) * stride + filter_width - input_width + 1) / 2; in operator ()()
241 ((output_width - 1) * stride + filter_width - input_width) / 2; in operator ()()
257 const int filter_value_count = filter_width * filter_height * input_depth; in operator ()()
[all …]
Ddepthwise_conv_op_gpu.h96 const int filter_width =
122 const int input_col_end = input_col_start + filter_width;
132 const int filter_offset_temp = filter_width * filter_row;
133 UNROLL for (int filter_col = 0; filter_col < filter_width;
152 const int filter_offset_temp = filter_width * filter_row;
153 UNROLL for (int filter_col = 0; filter_col < filter_width;
207 const int filter_width =
222 const int filter_pixels = filter_height * filter_width;
223 const int tile_width = in_width + filter_width - 1;
301 UNROLL for (int c = 0; c < filter_width; ++c) {
[all …]
/external/tensorflow/tensorflow/lite/kernels/
Dpadding.h61 int filter_width, TfLitePadding padding, int* out_height, int* out_width) { in ComputePaddingHeightWidth() argument
62 *out_width = ComputeOutSize(padding, in_width, filter_width, stride_width, in ComputePaddingHeightWidth()
75 filter_width, *out_width, &offset); in ComputePaddingHeightWidth()
84 int filter_width, int filter_depth, TfLitePadding padding, int* out_height, in ComputePadding3DValues() argument
86 *out_width = ComputeOutSize(padding, in_width, filter_width, stride_width, in ComputePadding3DValues()
105 filter_width, *out_width, &offset); in ComputePadding3DValues()
Dpooling.cc92 params->filter_height, params->filter_width, padding, &out_height, in GenericPrepare()
127 op_params.filter_width = params->filter_width; \ in AverageEvalFloat()
157 op_params.filter_width = params->filter_width; \ in AverageEvalQuantizedUint8()
187 op_params.filter_width = params->filter_width; \ in AverageEvalQuantizedInt8()
217 op_params.filter_width = params->filter_width; \ in AverageEvalQuantizedInt16()
241 op_params.filter_width = params->filter_width; \ in MaxEvalFloat()
269 op_params.filter_width = params->filter_width; \ in MaxEvalQuantizedUInt8()
298 op_params.filter_width = params->filter_width; \ in MaxEvalQuantizedInt8()
327 op_params.filter_width = params->filter_width; \ in MaxEvalQuantizedInt16()
351 op_params.filter_width = params->filter_width; \ in L2EvalFloat()
/external/tensorflow/tensorflow/lite/micro/kernels/arc_mli/
Dpooling_slicing_test.cc39 const float input_max, const int filter_height, const int filter_width, in TestAveragePoolingQuantized() argument
69 filter_width, filter_height, activation}; in TestAveragePoolingQuantized()
109 float input_min, float input_max, int filter_width, in TestMaxPoolQuantized() argument
141 filter_width, filter_height, activation, in TestMaxPoolQuantized()
311 int filter_width = 2; in TF_LITE_MICRO_TEST() local
323 kInput1Data, input_min, input_max, filter_width, filter_height, in TF_LITE_MICRO_TEST()
337 int filter_width = 2; in TF_LITE_MICRO_TEST() local
351 kInput1Data, input_min, input_max, filter_width, filter_height, in TF_LITE_MICRO_TEST()
366 int filter_width = 2; in TF_LITE_MICRO_TEST() local
383 kInput2Data, input_min, input_max, filter_width, filter_height, in TF_LITE_MICRO_TEST()
[all …]
Dpooling.cc77 params->filter_width, params->padding, &out_height, &out_width); in CalculateOpData()
122 data->cfg->kernel_width = params->filter_width; in Prepare()
156 op_params.filter_width = params->filter_width; in AverageEvalFloat()
248 op_params.filter_width = params->filter_width; in AverageEvalQuantized()
281 op_params.filter_width = params->filter_width; in MaxEvalFloat()
306 op_params.filter_width = params->filter_width; in MaxEvalQuantized()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Dmultithreaded_conv.h90 int filter_width, int filter_count, int stride_rows, in operator()
94 const bool is_1x1_kernel = (filter_height == 1 && filter_width == 1 && in operator()
108 } else if (filter_height == input_height && filter_width == input_width && in operator()
113 filter_width * filter_height * input_depth; in operator()
126 ConstEigenTensor filter(filter_data, filter_height, filter_width, in operator()
166 const int filter_width = filter_shape.Dims(2); in Conv() local
171 input_depth, filter_data, filter_height, filter_width, in Conv()
/external/tensorflow/tensorflow/lite/micro/kernels/cmsis_nn/
Dpooling.cc59 params->filter_width, params->padding, &out_height, &out_width); in CalculateOpData()
85 op_params.filter_width = params->filter_width; in AverageEvalFloat()
107 op_params.filter_width = params->filter_width; in AverageEvalQuantized()
149 filter_dims.w = params->filter_width; in AverageEvalQuantized()
178 op_params.filter_width = params->filter_width; in MaxEvalFloat()
197 op_params.filter_width = params->filter_width; in MaxEvalQuantizedUInt8()
239 filter_dims.w = params->filter_width; in MaxEvalInt8()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dconv.h54 const int filter_width = filter_shape.Dims(2); in Conv() local
66 for (int filter_x = 0; filter_x < filter_width; ++filter_x) { in Conv()
137 const int filter_width = filter_shape.Dims(2); in Conv() local
149 for (int filter_x = 0; filter_x < filter_width; ++filter_x) { in Conv()
217 const int filter_width = filter_shape.Dims(2); in HybridConvPerChannel() local
228 for (int filter_x = 0; filter_x < filter_width; ++filter_x) { in HybridConvPerChannel()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Ddepthwise_conv.h55 const int filter_width = filter_shape.Dims(2); in DepthwiseConvPerChannel() local
71 for (int filter_x = 0; filter_x < filter_width; ++filter_x) { in DepthwiseConvPerChannel()
152 const int filter_width = filter_shape.Dims(2); in DepthwiseConvPerChannel() local
168 for (int filter_x = 0; filter_x < filter_width; ++filter_x) { in DepthwiseConvPerChannel()
235 const int filter_width = filter_shape.Dims(2); in DepthwiseConvHybridPerChannel() local
252 for (int filter_x = 0; filter_x < filter_width; ++filter_x) { in DepthwiseConvHybridPerChannel()
/external/libaom/libaom/av1/encoder/
Dcnn.c164 (in_width - layer_config->filter_width + layer_config->skip_width) / in find_layer_output_size()
181 layer_config->filter_width; in find_layer_output_size()
398 const int filter_width_half = layer_config->filter_width >> 1; in av1_cnn_convolve_c()
421 for (int m = 0; m < layer_config->filter_width; in av1_cnn_convolve_c()
462 for (int m = 0; m < layer_config->filter_width; in av1_cnn_convolve_c()
491 w < in_width - layer_config->filter_width + 1; in av1_cnn_convolve_c()
504 for (int m = 0; m < layer_config->filter_width; in av1_cnn_convolve_c()
530 if (layer_config->filter_height == 1 && layer_config->filter_width == 1) { in av1_cnn_convolve_c()
534 get_start_shift_convolve(in_width, layer_config->filter_width, in av1_cnn_convolve_c()
560 filter_width_half - (layer_config->filter_width - 1) % 2; in av1_cnn_convolve_c()
[all …]
/external/tensorflow/tensorflow/tools/graph_transforms/
Dflatten_atrous.cc70 const int32 filter_width = filter.dim_size(1); in FlattenAtrousConv() local
77 (filter_width - 1) * block_width + 1; in FlattenAtrousConv()
88 for (int w = 0; w < filter_width; ++w) { in FlattenAtrousConv()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_Conv2D.pbtxt14 `[filter_height, filter_width, in_channels, out_channels]`
71 `[filter_height, filter_width, in_channels, out_channels]`, this op
75 `[filter_height * filter_width * in_channels, output_channels]`.
78 filter_height * filter_width * in_channels]`.
/external/tensorflow/tensorflow/lite/kernels/perception/
Dmax_pool_with_argmax_test.cc38 int filter_width, TfLitePadding padding, in MaxpoolingWithArgMaxOpModel() argument
46 stride_height, stride_width, filter_height, filter_width, padding); in MaxpoolingWithArgMaxOpModel()
70 int filter_height, int filter_width, in CreateCustomOptions() argument
84 flex_builder->Add(filter_width); in CreateCustomOptions()

123456