Home
last modified time | relevance | path

Searched refs:filter_height (Results 1 – 25 of 131) sorted by relevance

123456

/external/tensorflow/tensorflow/lite/micro/kernels/
Dpooling_test.cc31 const int filter_height, const int filter_width, in ValidatePoolingGoldens() argument
45 filter_height, in ValidatePoolingGoldens()
62 const int filter_height, const int filter_width, in TestAveragePoolFloat() argument
83 ValidatePoolingGoldens(tensors, tensors_size, registration, filter_height, in TestAveragePoolFloat()
92 const int input_zero_point, const int filter_height, const int filter_width, in TestAveragePoolQuantized() argument
115 ValidatePoolingGoldens(tensors, tensors_size, registration, filter_height, in TestAveragePoolQuantized()
122 int filter_width, int filter_height, int stride_width, in TestMaxPoolFloat() argument
140 ValidatePoolingGoldens(tensors, tensors_size, registration, filter_height, in TestMaxPoolFloat()
149 const int filter_height, const int filter_width, in TestMaxPoolQuantized() argument
171 ValidatePoolingGoldens(tensors, tensors_size, registration, filter_height, in TestMaxPoolQuantized()
[all …]
Dpooling.cc55 /*dilation_rate_width=*/1, height, width, params->filter_height, in CalculateOpData()
67 op_params.filter_height = params->filter_height; in AverageEvalFloat()
88 op_params.filter_height = params->filter_height; in AverageEvalQuantized()
115 op_params.filter_height = params->filter_height; in MaxEvalFloat()
133 op_params.filter_height = params->filter_height; in MaxEvalQuantized()
/external/libaom/libaom/test/
Dcnn_test.cc123 layer_config->filter_height * layer_config->in_channels * in AssignLayerWeightsBiases()
138 int filter_height = 5; in TEST_F() local
250 filter_height, in TEST_F()
270 filter_height, in TEST_F()
290 filter_height, in TEST_F()
336 int filter_height = 5; in TEST_F() local
372 filter_height, in TEST_F()
698 cnn_config.layer_config[0].filter_height = 3; in TEST_F()
972 cnn_config.layer_config[0].filter_height = 23; in TEST_F()
985 int filter_height = 5; in TEST_F() local
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/
Daveragepool_quantized_test.cc71 const int filter_height = UniformRandomInt(1, 10); in CreateDataAndRunAveragePool() local
73 const int input_height = input_height_offset + filter_height; in CreateDataAndRunAveragePool()
80 : (input_height - filter_height + stride_height) / stride_height; in CreateDataAndRunAveragePool()
93 params.filter_height = filter_height; in CreateDataAndRunAveragePool()
107 filter_height, output_height); in CreateDataAndRunAveragePool()
134 const int filter_height = UniformRandomInt(1, 28); in CreateExtremalDataAndRunAveragePool() local
135 if (filter_width * filter_height > 64) { in CreateExtremalDataAndRunAveragePool()
139 const int input_height = input_height_offset + filter_height; in CreateExtremalDataAndRunAveragePool()
146 : (input_height - filter_height + stride_height) / stride_height; in CreateExtremalDataAndRunAveragePool()
156 params.filter_height = filter_height; in CreateExtremalDataAndRunAveragePool()
[all …]
Dmaxpool_quantized_test.cc67 const int filter_height = UniformRandomInt(1, 10); in CreateDataAndRunMaxPool() local
69 const int input_height = input_height_offset + filter_height; in CreateDataAndRunMaxPool()
76 : (input_height - filter_height + stride_height) / stride_height; in CreateDataAndRunMaxPool()
89 params.filter_height = filter_height; in CreateDataAndRunMaxPool()
103 filter_height, output_height); in CreateDataAndRunMaxPool()
Dconv_per_channel_quantized_16x8_test.cc56 const int filter_height = filter_shape.Dims(1); in PickOutputMultiplier() local
73 for (int filter_y = 0; filter_y < filter_height; ++filter_y) { 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()
185 const int filter_height = UniformRandomInt(2, 5); in TryTestOneConvFilter() local
187 << filter_height << ")\n"; in TryTestOneConvFilter()
206 filter_width, filter_height, dilation_width_factor, in TryTestOneConvFilter()
Ddepthwiseconv_float_test.cc79 const int filter_height = ExponentialRandomPositiveInt(0.9f, 4, 10); in TryTestOneDepthwiseConv() local
110 filter_height, stride, dilation_width_factor, 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.cc57 const int filter_height = filter_shape.Dims(1); in PickOutputMultiplier() local
74 for (int filter_y = 0; filter_y < filter_height; ++filter_y) { 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()
185 const int filter_height = 3; in TryTestOneDepthwiseConv3x3Filter() local
205 filter_width, filter_height, depth_multiplier, in TryTestOneDepthwiseConv3x3Filter()
Ddepthwiseconv_per_channel_quantized_test.cc59 const int filter_height = filter_shape.Dims(1); in PickOutputMultiplier() local
76 for (int filter_y = 0; filter_y < filter_height; ++filter_y) { 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()
227 const int filter_height = 3; in TryTestOneDepthwiseConv3x3Filter() local
250 filter_width, filter_height, depth_multiplier, in TryTestOneDepthwiseConv3x3Filter()
/external/tensorflow/tensorflow/lite/kernels/
Dpadding.h60 int dilation_rate_width, int in_height, int in_width, int filter_height, in ComputePaddingHeightWidth() argument
64 *out_height = ComputeOutSize(padding, in_height, filter_height, stride_height, in ComputePaddingHeightWidth()
71 filter_height, *out_height, &offset); in ComputePaddingHeightWidth()
83 int in_height, int in_width, int in_depth, int filter_height, in ComputePadding3DValues() argument
88 *out_height = ComputeOutSize(padding, in_height, filter_height, stride_height, in ComputePadding3DValues()
101 filter_height, *out_height, &offset); in ComputePadding3DValues()
Dpooling.cc92 params->filter_height, params->filter_width, padding, &out_height, in GenericPrepare()
126 op_params.filter_height = params->filter_height; \ in AverageEvalFloat()
156 op_params.filter_height = params->filter_height; \ in AverageEvalQuantizedUint8()
186 op_params.filter_height = params->filter_height; \ in AverageEvalQuantizedInt8()
216 op_params.filter_height = params->filter_height; \ in AverageEvalQuantizedInt16()
240 op_params.filter_height = params->filter_height; \ in MaxEvalFloat()
268 op_params.filter_height = params->filter_height; \ in MaxEvalQuantizedUInt8()
297 op_params.filter_height = params->filter_height; \ in MaxEvalQuantizedInt8()
326 op_params.filter_height = params->filter_height; \ in MaxEvalQuantizedInt16()
350 op_params.filter_height = params->filter_height; \ 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()
110 int filter_height, int stride_width, in TestMaxPoolQuantized() argument
141 filter_width, filter_height, activation, in TestMaxPoolQuantized()
312 int filter_height = 2; in TF_LITE_MICRO_TEST() local
323 kInput1Data, input_min, input_max, filter_width, filter_height, in TF_LITE_MICRO_TEST()
338 int filter_height = 2; in TF_LITE_MICRO_TEST() local
351 kInput1Data, input_min, input_max, filter_width, filter_height, in TF_LITE_MICRO_TEST()
367 int filter_height = 2; in TF_LITE_MICRO_TEST() local
383 kInput2Data, input_min, input_max, filter_width, filter_height, in TF_LITE_MICRO_TEST()
[all …]
Dpooling.cc76 /*dilation_rate_width=*/1, height, width, params->filter_height, in CalculateOpData()
123 data->cfg->kernel_height = params->filter_height; in Prepare()
155 op_params.filter_height = params->filter_height; in AverageEvalFloat()
247 op_params.filter_height = params->filter_height; in AverageEvalQuantized()
280 op_params.filter_height = params->filter_height; in MaxEvalFloat()
305 op_params.filter_height = params->filter_height; in MaxEvalQuantized()
/external/tensorflow/tensorflow/core/kernels/
Dconv_ops_using_gemm.cc92 int input_depth, const T2* filter_data, int filter_height, in operator ()() argument
116 filter_top_offset = ((output_height - 1) * stride_rows + filter_height - in operator ()()
123 ((output_height - 1) * stride_rows + filter_height - input_height) / in operator ()()
157 for (int filter_y = 0; filter_y < filter_height; ++filter_y) { in operator ()()
215 int input_depth, const T2* filter_data, int filter_height, 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 ()()
277 filter_top_offset = ((output_height - 1) * stride_rows + filter_height - 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()
62 int filter_count, int filter_height, 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()
89 int filter_count, int filter_height, 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 …]
Ddepthwise_conv_op_gpu.h94 const int filter_height =
121 const int input_row_end = input_row_start + filter_height;
129 UNROLL for (int filter_row = 0; filter_row < filter_height;
149 UNROLL for (int filter_row = 0; filter_row < filter_height;
205 const int filter_height =
222 const int filter_pixels = filter_height * filter_width;
225 const int tile_height = in_height + filter_height - even_height;
300 UNROLL for (int r = 0; r < filter_height; ++r) {
341 const int filter_height =
408 const int input_row_end = input_row_start + filter_height;
[all …]
Dquantized_conv_ops.cc57 int filter_height, int filter_width, int filter_count, in operator ()() argument
93 ((output_height - 1) * stride + filter_height - input_height + 1) / 2; in operator ()()
98 ((output_height - 1) * stride + filter_height - input_height) / 2; in operator ()()
132 for (int filter_y = 0; filter_y < filter_height; ++filter_y) { 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 ()()
238 ((output_height - 1) * stride + filter_height - input_height + 1) / 2; in operator ()()
243 ((output_height - 1) * stride + filter_height - input_height) / 2; in operator ()()
257 const int filter_value_count = filter_width * filter_height * input_depth; in operator ()()
312 for (int filter_y = 0; filter_y < filter_height; ++filter_y) { in operator ()()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Dmultithreaded_conv.h89 int input_depth, const T* filter_data, int filter_height, 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()
165 const int filter_height = filter_shape.Dims(1); in Conv() local
171 input_depth, filter_data, filter_height, filter_width, in Conv()
/external/tensorflow/tensorflow/lite/micro/kernels/cmsis_nn/
Dpooling.cc58 /*dilation_rate_width=*/1, height, width, params->filter_height, in CalculateOpData()
84 op_params.filter_height = params->filter_height; in AverageEvalFloat()
106 op_params.filter_height = params->filter_height; in AverageEvalQuantized()
148 filter_dims.h = params->filter_height; in AverageEvalQuantized()
177 op_params.filter_height = params->filter_height; in MaxEvalFloat()
196 op_params.filter_height = params->filter_height; in MaxEvalQuantizedUInt8()
238 filter_dims.h = params->filter_height; in MaxEvalInt8()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dconv.h53 const int filter_height = filter_shape.Dims(1); in Conv() local
64 for (int filter_y = 0; filter_y < filter_height; ++filter_y) { in Conv()
136 const int filter_height = filter_shape.Dims(1); in Conv() local
147 for (int filter_y = 0; filter_y < filter_height; ++filter_y) { in Conv()
216 const int filter_height = filter_shape.Dims(1); in HybridConvPerChannel() local
227 for (int filter_y = 0; filter_y < filter_height; ++filter_y) { in HybridConvPerChannel()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Ddepthwise_conv.h54 const int filter_height = filter_shape.Dims(1); in DepthwiseConvPerChannel() local
70 for (int filter_y = 0; filter_y < filter_height; ++filter_y) { in DepthwiseConvPerChannel()
151 const int filter_height = filter_shape.Dims(1); in DepthwiseConvPerChannel() local
167 for (int filter_y = 0; filter_y < filter_height; ++filter_y) { in DepthwiseConvPerChannel()
234 const int filter_height = filter_shape.Dims(1); in DepthwiseConvHybridPerChannel() local
251 for (int filter_y = 0; filter_y < filter_height; ++filter_y) { in DepthwiseConvHybridPerChannel()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dflatten_atrous.cc69 const int32 filter_height = filter.dim_size(0); in FlattenAtrousConv() local
75 (filter_height - 1) * block_height + 1; in FlattenAtrousConv()
87 for (int h = 0; h < filter_height; ++h) { in FlattenAtrousConv()
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/
Dmany_attribute_op.mlir6 …// CHECK: "tfl.average_pool_2d"(%{{.*}}) {filter_height = 3 : i32, filter_width = 6 : i32, fused_a…
7 …%0 = "tfl.average_pool_2d"(%arg0) {filter_height = 3 : i32, filter_width = 6 : i32, fused_activati…
/external/tensorflow/tensorflow/lite/kernels/perception/
Dmax_pool_with_argmax_test.cc37 int stride_width, int filter_height, 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
83 flex_builder->Add(filter_height); in CreateCustomOptions()
/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]`.

123456