Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/lite/kernels/
Dsvdf.cc47 int batch_size, int memory_size, int num_filters, int num_units, int rank, in ApplyTimeWeightsBiasAndActivation() argument
57 activation_state->data.f + b * memory_size * num_filters; in ApplyTimeWeightsBiasAndActivation()
58 float* scratch_ptr_batch = scratch->data.f + b * num_filters; in ApplyTimeWeightsBiasAndActivation()
60 weights_time->data.f, state_ptr_batch, memory_size, num_filters, in ApplyTimeWeightsBiasAndActivation()
75 float* scratch_ptr_batch = scratch->data.f + b * num_filters; in ApplyTimeWeightsBiasAndActivation()
91 activation_state->data.f + b * memory_size * num_filters; in ApplyTimeWeightsBiasAndActivation()
92 for (int f = 0; f < num_filters; ++f) { in ApplyTimeWeightsBiasAndActivation()
148 const int num_filters = weights_feature->dims->data[0]; in Prepare() local
149 TF_LITE_ENSURE_EQ(context, num_filters % rank, 0); in Prepare()
150 const int num_units = num_filters / rank; in Prepare()
[all …]
Dsvdf_test.cc144 const int num_filters = units * rank; in BaseSVDFOpModel() local
146 TensorData{TensorType_FLOAT32, {batches, memory_size * num_filters}}, in BaseSVDFOpModel()
157 {batches, memory_size * num_filters} // activation_state tensor in BaseSVDFOpModel()
/external/tensorflow/tensorflow/python/compiler/tensorrt/test/
Dconv2d_test.py70 num_filters, argument
83 result = conv2d_layer(inp, num_filters, kernel_size, (1, 1), padding,
100 num_filters=5,
125 num_filters=5,
152 num_filters = 5
163 num_filters, (3, 2),
171 num_filters, (3, 3),
184 expected_output_dims=[[[n, num_filters, h, w]]])
199 num_filters = 8
207 weights_shape = [2, 2, num_filters, c]
[all …]
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dlayers_test.py568 num_filters = 32
570 expected_size = [5, 10, 12, num_filters]
574 images, num_filters, [3, 3], rate=2, padding='SAME')
582 num_filters = 32
584 expected_size = [5, 6, 8, num_filters]
588 images, num_filters, [3, 3], rate=2, padding='VALID')
596 num_filters = 32
598 expected_size = [5, 6, 6, num_filters]
602 images, num_filters, [3, 3], rate=[2, 3], padding='VALID')
610 num_filters = 32
[all …]
/external/tensorflow/tensorflow/contrib/eager/python/examples/densenet/
Ddensenet.py41 def __init__(self, num_filters, data_format, bottleneck, weight_decay=1e-4, argument
47 inter_filter = num_filters * 4
49 self.conv2 = tf.keras.layers.Conv2D(num_filters,
92 def __init__(self, num_filters, data_format, argument
98 self.conv = tf.keras.layers.Conv2D(num_filters,
221 self.num_filters = 2 * self.growth_rate
224 self.conv1 = tf.keras.layers.Conv2D(self.num_filters,
249 num_filters_after_each_block = [self.num_filters]
/external/mesa3d/src/gallium/auxiliary/postprocess/
Dpp_init.c45 unsigned int num_filters = 0; in pp_init() local
54 num_filters++; in pp_init()
56 if (num_filters == 0) in pp_init()
66 ppq->pp_queue = CALLOC(num_filters, sizeof(pp_func)); in pp_init()
72 ppq->shaders = CALLOC(num_filters, sizeof(void *)); in pp_init()
73 ppq->filters = CALLOC(num_filters, sizeof(unsigned int)); in pp_init()
/external/tensorflow/tensorflow/core/kernels/
Ddeep_conv2d.cc199 const int64 num_filters, const int64 shard_rows, in operator ()()
228 for (int64 od = 0; od < num_filters; ++od) { in operator ()()
290 const int64 num_filters = od_limit - od_start; in operator ()() local
309 num_filters * shard_rows * shard_cols * args.in_depth; in operator ()()
313 const int64 filter_buf_size = base_filter_spatial_size * num_filters * in operator ()()
318 for (int64 od = 0; od < num_filters; ++od) { in operator ()()
360 ComputeFilterRangeTransform<T>()(args, transform, od_start, num_filters, in operator ()()
465 const int64 num_filters = limit - start; in operator ()() local
467 const int64 od_unroll_limit = (num_filters / od_unroll) * od_unroll; in operator ()()
533 const int64 num_filters = filter_shards_row * filter_shards_col * out_depth; in operator ()() local
[all …]
Deigen_spatial_convolutions_test.cc1648 size_t num_filters = in PackLhsHelper() local
1655 for (int i = 0; i < num_filters; ++i) { in PackLhsHelper()
1688 num_filters == 1 ? 1 : internal::random<int>(0, num_filters - 1); in PackLhsHelper()
1715 "; input: depth=", input_depth, "; num_filers=", num_filters)); in PackLhsHelper()
/external/grpc-grpc/src/core/lib/channel/
Dchannel_stack_builder.cc262 size_t num_filters = 0; in grpc_channel_stack_builder_finish() local
264 num_filters++; in grpc_channel_stack_builder_finish()
270 gpr_malloc(sizeof(*filters) * num_filters)); in grpc_channel_stack_builder_finish()
277 size_t channel_stack_size = grpc_channel_stack_size(filters, num_filters); in grpc_channel_stack_builder_finish()
287 filters, num_filters, builder->args, builder->transport, builder->name, in grpc_channel_stack_builder_finish()
/external/tensorflow/tensorflow/examples/speech_commands/
Dmodels.py525 num_filters = rank * num_units
530 shape=[num_filters, batch, input_time_size],
560 shape=[input_frequency_size, num_filters])
585 shape=[num_filters, input_time_size])
/external/python/cpython3/Modules/
D_lzmamodule.c349 Py_ssize_t i, num_filters; in parse_filter_chain_spec() local
351 num_filters = PySequence_Length(filterspecs); in parse_filter_chain_spec()
352 if (num_filters == -1) in parse_filter_chain_spec()
354 if (num_filters > LZMA_FILTERS_MAX) { in parse_filter_chain_spec()
361 for (i = 0; i < num_filters; i++) { in parse_filter_chain_spec()
373 filters[num_filters].id = LZMA_VLI_UNKNOWN; in parse_filter_chain_spec()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dsubchannel.cc91 size_t num_filters; member
348 c->num_filters = args->filter_count; in grpc_subchannel_create()
349 if (c->num_filters > 0) { in grpc_subchannel_create()
351 gpr_malloc(sizeof(grpc_channel_filter*) * c->num_filters)); in grpc_subchannel_create()
353 sizeof(grpc_channel_filter*) * c->num_filters); in grpc_subchannel_create()
/external/mesa3d/src/gallium/state_trackers/va/
Dsurface.c805 VAProcFilterType *filters, unsigned int *num_filters) in vlVaQueryVideoProcFilters() argument
812 if (!num_filters || !filters) in vlVaQueryVideoProcFilters()
817 *num_filters = num; in vlVaQueryVideoProcFilters()
878 VABufferID *filters, unsigned int num_filters, in vlVaQueryVideoProcPipelineCaps() argument
889 if (num_filters && !filters) in vlVaQueryVideoProcPipelineCaps()
901 for (i = 0; i < num_filters; i++) { in vlVaQueryVideoProcPipelineCaps()
Dva_private.h400 unsigned int *num_filters);
404 unsigned int num_filters, VAProcPipelineCaps *pipeline_cap);
Dpostproc.c307 for (i = 0; i < param->num_filters; i++) { in vlVaHandleVAProcPipelineParameterBufferType()
/external/libcups/cups/
Dppd.c949 if (ppd->num_filters == 0) in _ppdOpen()
952 filter = realloc(ppd->filters, sizeof(char *) * (size_t)(ppd->num_filters + 1)); in _ppdOpen()
962 filter += ppd->num_filters; in _ppdOpen()
963 ppd->num_filters ++; in _ppdOpen()
2570 if (ppd->num_filters > 0) in ppd_free_filters()
2572 for (i = ppd->num_filters, filter = ppd->filters; i > 0; i --, filter ++) in ppd_free_filters()
2577 ppd->num_filters = 0; in ppd_free_filters()
3479 if (ppd->num_filters == 0) in ppd_update_filters()
3482 filter = realloc(ppd->filters, sizeof(char *) * (size_t)(ppd->num_filters + 1)); in ppd_update_filters()
3493 filter += ppd->num_filters; in ppd_update_filters()
[all …]
Dppd-emit.c555 if (ppd->num_filters == 0) in ppdEmitJCLEnd()
1156 (!rpr && ppd->num_filters > 0)) in ppd_handle_media()
Dppd.h333 int num_filters; /* Number of filters */ member
Dtestppd.c1133 for (i = 0; i < ppd->num_filters; i ++) in main()
1136 if (ppd->num_filters == 0) in main()
/external/pdfium/third_party/libpng16/
Dpngwrite.c1052 int num_filters; in png_set_filter() local
1076 num_filters = 0; in png_set_filter()
1079 num_filters++; in png_set_filter()
1082 num_filters++; in png_set_filter()
1085 num_filters++; in png_set_filter()
1088 num_filters++; in png_set_filter()
1100 if (num_filters > 1) in png_set_filter()
Dpngwutil.c1918 int num_filters = 0; in png_write_start_row() local
1923 num_filters++; in png_write_start_row()
1926 num_filters++; in png_write_start_row()
1929 num_filters++; in png_write_start_row()
1932 num_filters++; in png_write_start_row()
1934 if (num_filters > 1) in png_write_start_row()
/external/libpng/
Dpngwrite.c1063 int num_filters; in png_set_filter() local
1087 num_filters = 0; in png_set_filter()
1090 num_filters++; in png_set_filter()
1093 num_filters++; in png_set_filter()
1096 num_filters++; in png_set_filter()
1099 num_filters++; in png_set_filter()
1111 if (num_filters > 1) in png_set_filter()
Dpngwutil.c1948 int num_filters = 0; in png_write_start_row() local
1953 num_filters++; in png_write_start_row()
1956 num_filters++; in png_write_start_row()
1959 num_filters++; in png_write_start_row()
1962 num_filters++; in png_write_start_row()
1964 if (num_filters > 1) in png_write_start_row()
/external/adhd/cras/src/server/config/
Daec_config.c47 config->delay.num_filters = in aec_config_get()
306 config->delay.num_filters); in aec_config_dump()
/external/libcups/filter/
Dpstops.c890 if (!ppd || !ppd->num_filters) in copy_dsc()
995 if (!ppd || !ppd->num_filters) in copy_dsc()
1140 if (!ppd || !ppd->num_filters) in copy_non_dsc()
1189 if (!ppd || !ppd->num_filters) in copy_non_dsc()
1494 if (!ppd || !ppd->num_filters) in copy_page()

12