Home
last modified time | relevance | path

Searched refs:output_channels (Results 1 – 25 of 49) sorted by relevance

12

/external/XNNPACK/test/
Df32-conv-hwc.cc24 .output_channels(8) in TEST()
39 .output_channels(8) in TEST()
55 .output_channels(8) in TEST()
71 .output_channels(8) in TEST()
80 for (size_t output_channels = 1; output_channels < 8; output_channels++) { in TEST() local
88 .output_channels(output_channels) in TEST()
98 for (size_t output_channels = 16; output_channels <= 32; output_channels += 8) { in TEST() local
106 .output_channels(output_channels) in TEST()
116 for (size_t output_channels = 9; output_channels < 16; output_channels++) { in TEST() local
124 .output_channels(output_channels) in TEST()
[all …]
Df32-conv-hwc2spchw.cc24 .output_channels(4) in TEST()
39 .output_channels(4) in TEST()
55 .output_channels(4) in TEST()
71 .output_channels(4) in TEST()
80 for (size_t output_channels = 1; output_channels < 4; output_channels++) { in TEST() local
88 .output_channels(output_channels) in TEST()
98 for (size_t output_channels = 8; output_channels <= 16; output_channels += 4) { in TEST() local
106 .output_channels(output_channels) in TEST()
116 for (size_t output_channels = 5; output_channels < 8; output_channels++) { in TEST() local
124 .output_channels(output_channels) in TEST()
[all …]
Dfully-connected-nc.cc18 .output_channels(19) in TEST()
27 .output_channels(19) in TEST()
37 .output_channels(19) in TEST()
48 .output_channels(19) in TEST()
57 .output_channels(19) in TEST()
68 .output_channels(19) in TEST()
78 .output_channels(19) in TEST()
87 .output_channels(19) in TEST()
96 .output_channels(19) in TEST()
106 .output_channels(19) in TEST()
[all …]
Dfully-connected-operator-tester.h36 inline FullyConnectedOperatorTester& output_channels(size_t output_channels) { in output_channels() argument
37 assert(output_channels >= 1); in output_channels()
38 this->output_channels_ = output_channels; in output_channels()
42 inline size_t output_channels() const { in output_channels() function
79 return output_channels(); in output_stride()
81 assert(this->output_stride_ >= output_channels()); in output_stride()
139 std::vector<uint8_t> kernel(output_channels() * input_channels()); in TestQ8()
140 std::vector<int32_t> bias(output_channels()); in TestQ8()
141 std::vector<uint8_t> output((batch_size() - 1) * output_stride() + output_channels()); in TestQ8()
142 std::vector<int32_t> accumulators(batch_size() * output_channels()); in TestQ8()
[all …]
Dconv-hwc2spchw-microkernel-tester.h137 inline ConvHWC2SpCHWMicrokernelTester& output_channels(size_t output_channels) { in output_channels() function
138 assert(output_channels >= 1); in output_channels()
139 this->output_channels_ = output_channels; in output_channels()
143 inline size_t output_channels() const { in output_channels() function
148 …return output_channels() % output_channels_tile() == 0 ? output_channels() : output_channels() / o… in packed_output_channels()
242 return output_channels(); in output_pixel_stride()
304 …std::vector<float> kernel(output_channels() * kernel_height() * kernel_width() * input_channels());
305 std::vector<float> bias(output_channels());
306 std::vector<float> output(batch_size() * output_channels() * output_height() * output_width());
307 …std::vector<float> output_ref(batch_size() * output_channels() * output_height() * output_width());
[all …]
Dconv-hwc-microkernel-tester.h137 inline ConvHWCMicrokernelTester& output_channels(size_t output_channels) { in output_channels() function
138 assert(output_channels >= 1); in output_channels()
139 this->output_channels_ = output_channels; in output_channels()
143 inline size_t output_channels() const { in output_channels() function
148 …return output_channels() % output_channels_tile() == 0 ? output_channels() : output_channels() / o… in packed_output_channels()
242 return output_channels(); in output_pixel_stride()
304 …std::vector<float> kernel(output_channels() * kernel_height() * kernel_width() * input_channels());
305 std::vector<float> bias(output_channels());
306 …tch_size() * ((output_height() * output_width() - 1) * output_pixel_stride() + output_channels()));
307 …std::vector<float> output_ref(batch_size() * output_height() * output_width() * output_channels());
[all …]
Ddeconvolution-nhwc.cc73 …for (size_t output_channels = 1; output_channels <= xnn_params.q8.gemm.nr * 2; output_channels *= … variable
78 .group_output_channels(output_channels)
202 …for (size_t output_channels = 1; output_channels <= xnn_params.q8.gemm.nr * 2; output_channels *= … in TEST() local
208 .group_output_channels(output_channels) in TEST()
337 …for (size_t output_channels = 1; output_channels <= xnn_params.q8.gemm.nr * 2; output_channels *= … in TEST() local
343 .group_output_channels(output_channels) in TEST()
476 …for (size_t output_channels = 1; output_channels <= xnn_params.q8.gemm.nr * 2; output_channels *= … in TEST() local
483 .group_output_channels(output_channels) in TEST()
713 …for (size_t output_channels = 1; output_channels <= xnn_params.q8.gemm.nr * 2; output_channels *= … variable
719 .group_output_channels(output_channels)
[all …]
Dconvolution-nchw.cc81 for (size_t output_channels = 1; output_channels < 19; output_channels *= 2) { variable
86 .group_output_channels(output_channels)
204 for (size_t output_channels = 1; output_channels < 19; output_channels *= 2) { in TEST() local
210 .group_output_channels(output_channels) in TEST()
332 for (size_t output_channels = 1; output_channels < 19; output_channels *= 2) { variable
339 .group_output_channels(output_channels)
441 for (size_t output_channels = 1; output_channels < 19; output_channels *= 2) { in TEST() local
449 .group_output_channels(output_channels) in TEST()
Dchannel-pad-operator-tester.h61 inline size_t output_channels() const { in output_channels() function
88 return output_channels(); in output_stride()
90 assert(this->output_stride_ >= output_channels()); in output_stride()
111 std::vector<uint32_t> output(output_channels() + (batch_size() - 1) * output_stride()); in TestX32()
/external/XNNPACK/src/
Dfully-connected-nc.c28 size_t output_channels, in xnn_create_fully_connected_nc_q8() argument
61 if (output_channels == 0) { in xnn_create_fully_connected_nc_q8()
64 output_channels); in xnn_create_fully_connected_nc_q8()
76 if (output_stride < output_channels) { in xnn_create_fully_connected_nc_q8()
80 output_stride, output_channels); in xnn_create_fully_connected_nc_q8()
135 const uint32_t n_stride = round_up(output_channels, nr); in xnn_create_fully_connected_nc_q8()
148 output_channels, input_channels, in xnn_create_fully_connected_nc_q8()
155 1, output_channels, input_channels, in xnn_create_fully_connected_nc_q8()
163 fully_connected_op->group_output_channels = output_channels; in xnn_create_fully_connected_nc_q8()
196 size_t output_channels, in xnn_create_fully_connected_nc_f32() argument
[all …]
Dchannel-pad-nc.c54 const size_t output_channels = pad_before_channels + input_channels + pad_after_channels; in xnn_create_channel_pad_nc_x32() local
55 if (output_stride < output_channels) { in xnn_create_channel_pad_nc_x32()
/external/XNNPACK/bench/
Df32-conv-hwc.cc36 const size_t output_channels = state.range(2); in DConv3X3S2P1Benchmark() local
52 std::vector<float> kernel(output_channels * kernel_size * kernel_size * input_channels); in DConv3X3S2P1Benchmark()
54 std::vector<float> bias(output_channels); in DConv3X3S2P1Benchmark()
60 benchmark::utils::RoundUp<size_t>(output_channels, output_channels_tile); in DConv3X3S2P1Benchmark()
61 const size_t output_elements = output_height * output_width * output_channels; in DConv3X3S2P1Benchmark()
69 output_channels, input_channels, output_channels_tile, in DConv3X3S2P1Benchmark()
97 padding, output_channels, in DConv3X3S2P1Benchmark()
98 output_channels * output_width * sizeof(float), in DConv3X3S2P1Benchmark()
99 output_channels * sizeof(float), in DConv3X3S2P1Benchmark()
107 input_channels * output_channels * in DConv3X3S2P1Benchmark()
Df32-conv-hwc2spchw.cc36 const size_t output_channels = state.range(2); in DConvHWC2SpCHW3X3S2P1Benchmark() local
52 std::vector<float> kernel(output_channels * kernel_size * kernel_size * input_channels); in DConvHWC2SpCHW3X3S2P1Benchmark()
54 std::vector<float> bias(output_channels); in DConvHWC2SpCHW3X3S2P1Benchmark()
60 benchmark::utils::RoundUp<size_t>(output_channels, output_channels_tile); in DConvHWC2SpCHW3X3S2P1Benchmark()
61 const size_t output_elements = output_height * output_width * output_channels; in DConvHWC2SpCHW3X3S2P1Benchmark()
69 output_channels, input_channels, output_channels_tile, in DConvHWC2SpCHW3X3S2P1Benchmark()
97 padding, output_channels, in DConvHWC2SpCHW3X3S2P1Benchmark()
98 output_channels * output_width * sizeof(float), in DConvHWC2SpCHW3X3S2P1Benchmark()
99 output_channels * sizeof(float), in DConvHWC2SpCHW3X3S2P1Benchmark()
107 input_channels * output_channels * in DConvHWC2SpCHW3X3S2P1Benchmark()
Ddeconvolution.cc276 const size_t output_channels = state.range(11); in tflite_deconvolution_f32() local
304 std::vector<float> kernel(output_channels * kernel_height * kernel_width * input_channels); in tflite_deconvolution_f32()
326 static_cast<int32_t>(output_channels) in tflite_deconvolution_f32()
329 static_cast<int32_t>(output_channels), in tflite_deconvolution_f32()
442 input_channels * output_channels * in tflite_deconvolution_f32()
/external/igt-gpu-tools/lib/
Digt_alsa.c51 int output_channels; member
373 alsa->output_channels = channels; in alsa_configure_output()
419 int output_channels; in alsa_run() local
430 output_channels = alsa->output_channels; in alsa_run()
433 output_buffer = malloc(output_channels * output_trigger * in alsa_run()
460 output_channels; in alsa_run()
/external/pdfium/testing/image_diff/
Dimage_diff_png.cpp123 int output_channels = 0; member in image_diff_png::__anoneb27d0170111::PngDecoderState
242 state->output_channels = 3; in DecodeInfoCallback()
246 state->output_channels = 4; in DecodeInfoCallback()
250 state->output_channels = 4; in DecodeInfoCallback()
254 state->output_channels = 1; in DecodeInfoCallback()
264 state->output_channels = 3; in DecodeInfoCallback()
268 state->output_channels = 4; in DecodeInfoCallback()
272 state->output_channels = 4; in DecodeInfoCallback()
283 state->output->resize(state->width * state->output_channels * state->height); in DecodeInfoCallback()
301 uint8_t* dest = &base[state->width * state->output_channels * row_num]; in DecodeRowCallback()
[all …]
/external/tensorflow/tensorflow/core/ops/
Daudio_ops.cc96 DimensionHandle output_channels = in SpectrogramShapeFn() local
99 c->MakeShape({input_channels, output_length, output_channels})); in SpectrogramShapeFn()
116 DimensionHandle output_channels = c->MakeDim(dct_coefficient_count); in MfccShapeFn() local
119 output_channels})); in MfccShapeFn()
/external/XNNPACK/src/xnnpack/
Dconv.h33 size_t output_channels, \
55 size_t output_channels, \
/external/adhd/cras/src/server/
Dcras_dsp_pipeline.c127 int output_channels; member
455 pipeline->output_channels = in cras_dsp_pipeline_create()
457 if (pipeline->output_channels > pipeline->input_channels) { in cras_dsp_pipeline_create()
746 return pipeline->output_channels; in cras_dsp_pipeline_get_num_output_channels()
833 unsigned int output_channels = pipeline->output_channels; in cras_dsp_pipeline_apply() local
835 float *sink[output_channels]; in cras_dsp_pipeline_apply()
847 for (i = 0; i < output_channels; i++) in cras_dsp_pipeline_apply()
866 rc = dsp_util_interleave(sink, buf, output_channels, format, in cras_dsp_pipeline_apply()
871 buf += chunk * output_channels * PCM_FORMAT_WIDTH(format) / 8; in cras_dsp_pipeline_apply()
957 dumpf(d, " output channels: %d\n", pipeline->output_channels); in cras_dsp_pipeline_dump()
/external/tensorflow/tensorflow/lite/kernels/
Ddepth_to_space.cc63 int output_channels = input_channels / block_size / block_size; in Prepare() local
68 output_channels * block_size * block_size); in Prepare()
74 output_size->data[3] = output_channels; in Prepare()
/external/skqp/third_party/skcms/
Dskcms.cc407 uint8_t output_channels [ 1]; member
435 a2b->output_channels = mftTag->output_channels[0]; in read_mft_common()
438 if (a2b->output_channels != ARRAY_COUNT(a2b->output_curves)) { in read_mft_common()
466 uint32_t byte_len_all_output_tables = a2b->output_channels * byte_len_per_output_table; in init_a2b_tables()
468 uint64_t grid_size = a2b->output_channels * byte_width; in init_a2b_tables()
497 for (uint32_t i = 0; i < a2b->output_channels; ++i) { in init_a2b_tables()
582 uint8_t output_channels [ 1]; member
606 a2b->output_channels = mABTag->output_channels[0]; in read_tag_mab()
609 if (a2b->output_channels != ARRAY_COUNT(a2b->output_curves)) { in read_tag_mab()
628 if (!read_curves(tag->buf, tag->size, b_curve_offset, a2b->output_channels, in read_tag_mab()
[all …]
/external/skia/third_party/skcms/
Dskcms.cc556 uint8_t output_channels [ 1]; member
584 a2b->output_channels = mftTag->output_channels[0]; in read_mft_common()
587 if (a2b->output_channels != ARRAY_COUNT(a2b->output_curves)) { in read_mft_common()
615 uint32_t byte_len_all_output_tables = a2b->output_channels * byte_len_per_output_table; in init_a2b_tables()
617 uint64_t grid_size = a2b->output_channels * byte_width; in init_a2b_tables()
646 for (uint32_t i = 0; i < a2b->output_channels; ++i) { in init_a2b_tables()
731 uint8_t output_channels [ 1]; member
755 a2b->output_channels = mABTag->output_channels[0]; in read_tag_mab()
758 if (a2b->output_channels != ARRAY_COUNT(a2b->output_curves)) { in read_tag_mab()
777 if (!read_curves(tag->buf, tag->size, b_curve_offset, a2b->output_channels, in read_tag_mab()
[all …]
/external/tensorflow/tensorflow/core/util/
Dtensor_format.h622 const int64 output_channels = GetFilterDim(src_shape, src_filter_format, 'O'); in ShapeFromFilterFormat() local
633 input_channels, output_channels); in ShapeFromFilterFormat()
640 input_channels, output_channels); in ShapeFromFilterFormat()
/external/libaom/libaom/av1/encoder/
Dcnn.h160 const int *output_channels; member
/external/tensorflow/tensorflow/lite/micro/kernels/
Dconv.cc99 int output_channels = filter->dims->data[kConvQuantizedDimension]; in CalculateOpData() local
107 output_channels)); in CalculateOpData()

12