Home
last modified time | relevance | path

Searched refs:filter_id (Results 1 – 25 of 27) sorted by relevance

12

/external/XNNPACK/test/
Dfusion.cc109 uint32_t filter_id = 1; in TEST() local
115 .AddStaticTensorF32({32, 3, 3, 3}, TensorType::kDense, filter_id) in TEST()
128 }, input_id, filter_id, bias_id, intermediate_id) in TEST()
180 uint32_t filter_id = 1; in TEST() local
186 .AddStaticTensorF32({32, 3, 3, 3}, TensorType::kDense, filter_id) in TEST()
200 }, input_id, filter_id, bias_id, intermediate_id) in TEST()
222 uint32_t filter_id = 1; in TEST() local
228 .AddStaticTensorF32({1, 3, 3, 4}, TensorType::kDense, filter_id) in TEST()
240 }, input_id, filter_id, bias_id, intermediate_id) in TEST()
262 uint32_t filter_id = 1; in TEST() local
[all …]
Dconvolution-2d.cc149 uint32_t filter_id = XNN_INVALID_NODE_ID; in TEST_F() local
154 /*external_id=*/1, /*flags=*/0, &filter_id)); in TEST_F()
175 …group_input_channels, group_output_channels, output_min, output_max, input_id, filter_id, bias_id,… in TEST_F()
199 ASSERT_EQ(node->inputs[1], filter_id); in TEST_F()
221 uint32_t filter_id = XNN_INVALID_NODE_ID; in TEST_F() local
225 /*external_id=*/1, /*flags=*/0, &filter_id)); in TEST_F()
245 …group_input_channels, group_output_channels, output_min, output_max, input_id, filter_id, bias_id,… in TEST_F()
269 ASSERT_EQ(node->inputs[1], filter_id); in TEST_F()
291 uint32_t filter_id = XNN_INVALID_NODE_ID; in TEST_F() local
295 /*external_id=*/1, /*flags=*/0, &filter_id)); in TEST_F()
[all …]
Ddepthwise-convolution-2d.cc175 uint32_t filter_id = XNN_INVALID_NODE_ID; in TEST_F() local
180 /*flags=*/0, &filter_id)); in TEST_F()
202 input_channels, output_min, output_max, input_id, filter_id, bias_id, output_id, in TEST_F()
225 ASSERT_EQ(node->inputs[1], filter_id); in TEST_F()
248 uint32_t filter_id = XNN_INVALID_NODE_ID; in TEST_F() local
253 /*flags=*/0, &filter_id)); in TEST_F()
275 input_channels, output_min, output_max, input_id, filter_id, bias_id, output_id, in TEST_F()
298 ASSERT_EQ(node->inputs[1], filter_id); in TEST_F()
321 uint32_t filter_id = XNN_INVALID_NODE_ID; in TEST_F() local
326 /*flags=*/0, &filter_id)); in TEST_F()
[all …]
Dsubgraph-tester.h170 uint32_t input_id, uint32_t filter_id, uint32_t bias_id, in AddConvolution2D() argument
178 std::numeric_limits<float>::infinity(), input_id, filter_id, bias_id, in AddConvolution2D()
187 uint32_t input_id, uint32_t filter_id, uint32_t bias_id, uint32_t output_id) { in AddDepthwiseConvolution2D() argument
194 std::numeric_limits<float>::infinity(), input_id, filter_id, bias_id, in AddDepthwiseConvolution2D()
243 uint32_t input_id, uint32_t filter_id, uint32_t bias_id, in AddDeconvolution2D() argument
252 std::numeric_limits<float>::infinity(), input_id, filter_id, bias_id, in AddDeconvolution2D()
261 uint32_t input_id, uint32_t filter_id, uint32_t bias_id, in AddDeconvolution2D() argument
270 std::numeric_limits<float>::infinity(), input_id, filter_id, bias_id, in AddDeconvolution2D()
288 uint32_t input_id, uint32_t filter_id, uint32_t bias_id, uint32_t output_id) { in AddFullyConnected() argument
292 std::numeric_limits<float>::infinity(), input_id, filter_id, bias_id, in AddFullyConnected()
/external/XNNPACK/src/subgraph/
Dfully-connected.c32 const uint32_t filter_id = node->inputs[1]; in create_fully_connected_operator() local
33 assert(filter_id != XNN_INVALID_VALUE_ID); in create_fully_connected_operator()
34 assert(filter_id < num_values); in create_fully_connected_operator()
51 const void* filter_data = values[filter_id].data; in create_fully_connected_operator()
110 values[filter_id].quantization.scale, in create_fully_connected_operator()
135 (uint8_t) values[filter_id].quantization.zero_point, in create_fully_connected_operator()
136 values[filter_id].quantization.scale, in create_fully_connected_operator()
297 uint32_t filter_id, in xnn_define_fully_connected() argument
340 if (filter_id >= subgraph->num_values) { in xnn_define_fully_connected()
343 xnn_node_type_to_string(xnn_node_type_fully_connected), filter_id); in xnn_define_fully_connected()
[all …]
Ddeconvolution-2d.c34 const uint32_t filter_id = node->inputs[1]; in create_deconvolution_operator() local
35 assert(filter_id != XNN_INVALID_VALUE_ID); in create_deconvolution_operator()
36 assert(filter_id < num_values); in create_deconvolution_operator()
53 const void* filter_data = values[filter_id].data; in create_deconvolution_operator()
135 values[filter_id].quantization.scale, in create_deconvolution_operator()
173 (uint8_t) values[filter_id].quantization.zero_point, in create_deconvolution_operator()
174 values[filter_id].quantization.scale, in create_deconvolution_operator()
376 uint32_t filter_id, in xnn_define_deconvolution_2d() argument
461 if (filter_id >= subgraph->num_values) { in xnn_define_deconvolution_2d()
464 xnn_node_type_to_string(xnn_node_type_deconvolution_2d), filter_id); in xnn_define_deconvolution_2d()
[all …]
Ddepthwise-convolution-2d.c32 const uint32_t filter_id = node->inputs[1]; in create_convolution_operator() local
33 assert(filter_id != XNN_INVALID_VALUE_ID); in create_convolution_operator()
34 assert(filter_id < num_values); in create_convolution_operator()
41 const void* filter_data = values[filter_id].data; in create_convolution_operator()
162 values[filter_id].quantization.scale, in create_convolution_operator()
196 values[filter_id].quantization.channelwise_scale, in create_convolution_operator()
232 (uint8_t) values[filter_id].quantization.zero_point, in create_convolution_operator()
233 values[filter_id].quantization.scale, in create_convolution_operator()
454 uint32_t filter_id, in xnn_define_depthwise_convolution_2d() argument
562 if (filter_id >= subgraph->num_values) { in xnn_define_depthwise_convolution_2d()
[all …]
Dconvolution-2d.c32 const uint32_t filter_id = node->inputs[1]; in create_convolution_operator() local
33 assert(filter_id != XNN_INVALID_VALUE_ID); in create_convolution_operator()
34 assert(filter_id < num_values); in create_convolution_operator()
41 const void* filter_data = values[filter_id].data; in create_convolution_operator()
161 values[filter_id].quantization.scale, in create_convolution_operator()
195 values[filter_id].quantization.channelwise_scale, in create_convolution_operator()
231 (uint8_t) values[filter_id].quantization.zero_point, in create_convolution_operator()
232 values[filter_id].quantization.scale, in create_convolution_operator()
454 uint32_t filter_id, in xnn_define_convolution_2d() argument
569 if (filter_id >= subgraph->num_values) { in xnn_define_convolution_2d()
[all …]
/external/pigweed/pw_log_rpc/
Dlog_filter_service.cc34 ConstByteSpan filter_id; in SetFilterImpl() local
35 PW_TRY(decoder.ReadBytes(&filter_id)); in SetFilterImpl()
36 Result<Filter*> filter = filter_map_.GetFilterFromId(filter_id); in SetFilterImpl()
60 ConstByteSpan filter_id; in GetFilterImpl() local
61 PW_TRY_WITH_SIZE(decoder.ReadBytes(&filter_id)); in GetFilterImpl()
62 Result<Filter*> filter = filter_map_.GetFilterFromId(filter_id); in GetFilterImpl()
Dlog_filter_test.cc129 const std::array<std::byte, cfg::kMaxFilterIdBytes> filter_id{ in TEST() local
167 Filter filter(filter_id, rules); in TEST()
168 const Filter new_filter(filter_id, in TEST()
181 const Filter empty_filter(filter_id, {}); in TEST()
220 filter_id, const_cast<std::array<Filter::Rule, 2>&>(few_rules)); in TEST()
288 filter_id, const_cast<std::array<Filter::Rule, 6>&>(extra_rules)); in TEST()
299 Filter filter_no_rules(filter_id, {}); in TEST()
323 const std::array<std::byte, cfg::kMaxFilterIdBytes> filter_id{ in TEST() local
325 const Filter filter(filter_id, in TEST()
364 filter_id, const_cast<std::array<Filter::Rule, 2>&>(rules)); in TEST()
[all …]
Dlog_filter_service_test.cc75 ConstByteSpan filter_id; in TEST_F() local
76 ASSERT_EQ(decoder.ReadBytes(&filter_id), OkStatus()); in TEST_F()
77 ASSERT_EQ(filter_id.size(), filter.id().size()); in TEST_F()
79 std::memcmp(filter_id.data(), filter.id().data(), filter_id.size()), 0); in TEST_F()
/external/ComputeLibrary/tests/validation/reference/
DConvolution3d.h51 …, int width_weights, int height_weights, int dilation_x = 1, int dilation_y = 1, int filter_id = 0)
53 ARM_COMPUTE_UNUSED(filter_id);
102 …, int width_weights, int height_weights, int dilation_x = 1, int dilation_y = 1, int filter_id = 0)
121 weights_offset = weights.quantization_info().offset()[filter_id];
127 weights_scale = weights.quantization_info().scale()[filter_id];
/external/perfetto/src/trace_processor/prelude/table_functions/
Dexperimental_slice_layout.cc102 StringPool::Id filter_id = in ComputeTable() local
106 auto cache_it = layout_table_cache_.find(filter_id); in ComputeTable()
123 ComputeLayoutTable(std::move(rows), filter_id); in ComputeTable()
124 auto res = layout_table_cache_.emplace(filter_id, std::move(layout_table)); in ComputeTable()
177 StringPool::Id filter_id) { in ComputeLayoutTable() argument
283 filter_column.Append(filter_id); in ComputeLayoutTable()
Dexperimental_slice_layout.h46 StringPool::Id filter_id);
/external/python/cpython3/Modules/clinic/
D_lzmamodule.c.h256 _lzma__decode_filter_properties_impl(PyObject *module, lzma_vli filter_id,
263 lzma_vli filter_id; in _lzma__decode_filter_properties() local
269 if (!lzma_vli_converter(args[0], &filter_id)) { in _lzma__decode_filter_properties()
279 return_value = _lzma__decode_filter_properties_impl(module, filter_id, &encoded_props); in _lzma__decode_filter_properties()
/external/libgav1/src/post_filter/
Ddeblock.cc48 bool NonBlockBorderNeedsFilter(const BlockParameters& bp, int filter_id, in NonBlockBorderNeedsFilter() argument
50 if (bp.deblock_filter_level[filter_id] == 0 || (bp.skip && bp.is_inter)) { in NonBlockBorderNeedsFilter()
53 *level = bp.deblock_filter_level[filter_id]; in NonBlockBorderNeedsFilter()
220 const int filter_id = 0; in GetVerticalDeblockFilterEdgeInfo() local
226 if (!NonBlockBorderNeedsFilter(*bp, filter_id, level)) return false; in GetVerticalDeblockFilterEdgeInfo()
229 const uint8_t level_this = bp->deblock_filter_level[filter_id]; in GetVerticalDeblockFilterEdgeInfo()
232 const uint8_t level_prev = bp_prev->deblock_filter_level[filter_id]; in GetVerticalDeblockFilterEdgeInfo()
/external/libgav1/src/dsp/
Dconvolve.cc107 const int filter_id = (p >> 6) & kSubPixelMask; in ConvolveScale2D_C() local
109 sum += kHalfSubPixelFilters[filter_index][filter_id][k] * src_x[k]; in ConvolveScale2D_C()
125 const int filter_id = (p >> 6) & kSubPixelMask; in ConvolveScale2D_C() local
131 kHalfSubPixelFilters[filter_index][filter_id][k] * in ConvolveScale2D_C()
190 const int filter_id = (p >> 6) & kSubPixelMask; in ConvolveCompoundScale2D_C() local
192 sum += kHalfSubPixelFilters[filter_index][filter_id][k] * src_x[k]; in ConvolveCompoundScale2D_C()
208 const int filter_id = (p >> 6) & kSubPixelMask; in ConvolveCompoundScale2D_C() local
214 kHalfSubPixelFilters[filter_index][filter_id][k] * in ConvolveCompoundScale2D_C()
/external/ComputeLibrary/tests/
Dmain.cpp116 auto filter_id = parser.add_option<utils::SimpleOption<std::string>>("filter-id"); in main() local
117 filter_id->set_help("List of test ids. ... can be used to define a range."); in main()
270 fconfig.id_filter = filter_id->value(); in main()
/external/libgav1/src/dsp/x86/
Dconvolve_sse4.inc22 int GetNumTapsInFilter(const int filter_index, const int filter_id) {
34 if (((filter_id == 1) | (filter_id == 15) | (filter_id == 7) |
35 (filter_id == 8) | (filter_id == 9)) != 0) {
38 // When |filter_index| == 1, the |filter_id| values not listed above map to
Dconvolve_sse4.cc209 const int width, const int height, const int filter_id, in DoHorizontalPass() argument
211 assert(filter_id != 0); in DoHorizontalPass()
214 LoadLo8(kHalfSubPixelFilters[filter_index][filter_id]); in DoHorizontalPass()
1065 int filter_id = (p >> 6) & kSubPixelMask; in ConvolveVerticalScale() local
1067 kHalfSubPixelFilters[filter_index][filter_id] + kernel_offset; in ConvolveVerticalScale()
1075 filter_id = (p >> 6) & kSubPixelMask; in ConvolveVerticalScale()
1077 kHalfSubPixelFilters[filter_index][filter_id] + kernel_offset; in ConvolveVerticalScale()
1117 const int filter_id = (p >> 6) & kSubPixelMask; in ConvolveVerticalScale() local
1119 kHalfSubPixelFilters[filter_index][filter_id] + kernel_offset; in ConvolveVerticalScale()
Dconvolve_avx2.cc539 const int width, const int height, const int filter_id, in DoHorizontalPass2xH() argument
541 assert(filter_id != 0); in DoHorizontalPass2xH()
544 LoadLo8(kHalfSubPixelFilters[filter_index][filter_id]); in DoHorizontalPass2xH()
562 const int width, const int height, const int filter_id, in DoHorizontalPass() argument
564 assert(filter_id != 0); in DoHorizontalPass()
567 LoadLo8(kHalfSubPixelFilters[filter_index][filter_id]); in DoHorizontalPass()
/external/pigweed/pw_log/
Dlog.proto214 bytes filter_id = 1 [(tokenizer.format) = TOKENIZATION_OPTIONAL]; field
220 bytes filter_id = 1 [(tokenizer.format) = TOKENIZATION_OPTIONAL]; field
226 repeated bytes filter_id = 1 [(tokenizer.format) = TOKENIZATION_OPTIONAL]; field
/external/libgav1/src/dsp/arm/
Dconvolve_neon.cc714 const int width, const int height, const int filter_id, in DoHorizontalPass() argument
719 assert(filter_id != 0); in DoHorizontalPass()
722 v_tap[k] = vdup_n_u8(kAbsHalfSubPixelFilters[filter_index][filter_id][k]); in DoHorizontalPass()
730 if ((filter_id == 1) | (filter_id == 15)) { in DoHorizontalPass()
1381 int filter_id = (p >> 6) & kSubPixelMask; in ConvolveVerticalScale4xH() local
1383 vmovl_s8(vld1_s8(kHalfSubPixelFilters[filter_index][filter_id])); in ConvolveVerticalScale4xH()
1410 filter_id = (p >> 6) & kSubPixelMask; in ConvolveVerticalScale4xH()
1411 filter = vmovl_s8(vld1_s8(kHalfSubPixelFilters[filter_index][filter_id])); in ConvolveVerticalScale4xH()
1464 int filter_id = (p >> 6) & kSubPixelMask; in ConvolveVerticalScale() local
1466 vmovl_s8(vld1_s8(kHalfSubPixelFilters[filter_index][filter_id])); in ConvolveVerticalScale()
[all …]
Dconvolve_10bit_neon.cc446 const int width, const int height, const int filter_id, in DoHorizontalPass() argument
451 assert(filter_id != 0); in DoHorizontalPass()
454 v_tap[k] = vdup_n_s16(kHalfSubPixelFilters[filter_index][filter_id][k]); in DoHorizontalPass()
2577 int filter_id = (p >> 6) & kSubPixelMask; in ConvolveVerticalScale2Or4xH() local
2579 vmovl_s8(vld1_s8(kHalfSubPixelFilters[filter_index][filter_id])); in ConvolveVerticalScale2Or4xH()
2610 filter_id = (p >> 6) & kSubPixelMask; in ConvolveVerticalScale2Or4xH()
2611 filter = vmovl_s8(vld1_s8(kHalfSubPixelFilters[filter_index][filter_id])); in ConvolveVerticalScale2Or4xH()
2665 int filter_id = (p >> 6) & kSubPixelMask; in ConvolveVerticalScale() local
2667 vmovl_s8(vld1_s8(kHalfSubPixelFilters[filter_index][filter_id])); in ConvolveVerticalScale()
2694 filter_id = (p >> 6) & kSubPixelMask; in ConvolveVerticalScale()
[all …]
/external/python/cpython3/Modules/
D_lzmamodule.c1464 _lzma__decode_filter_properties_impl(PyObject *module, lzma_vli filter_id, in _lzma__decode_filter_properties_impl() argument
1471 filter.id = filter_id; in _lzma__decode_filter_properties_impl()

12