/external/XNNPACK/test/ |
D | f32-conv-hwc.cc | 24 .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 …]
|
D | f32-conv-hwc2chw.cc | 24 .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 …]
|
D | fully-connected-nc.cc | 18 .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 …]
|
D | depth-to-space-nhwc.cc | 15 .output_channels(17) in TEST() 24 .output_channels(17) in TEST() 34 .output_channels(17) in TEST() 45 .output_channels(17) in TEST() 56 .output_channels(17) in TEST() 62 for (size_t output_channels = 1; output_channels <= 15; output_channels++) { in TEST() local 66 .output_channels(output_channels) in TEST() 77 .output_channels(17) in TEST() 88 .output_channels(17) in TEST() 98 .output_channels(17) in TEST()
|
D | depth-to-space-nchw2nhwc.cc | 15 .output_channels(17) in TEST() 24 .output_channels(17) in TEST() 34 .output_channels(17) in TEST() 45 .output_channels(17) in TEST() 56 .output_channels(17) in TEST() 62 for (size_t output_channels = 1; output_channels <= 15; output_channels++) { in TEST() local 66 .output_channels(output_channels) in TEST() 77 .output_channels(17) in TEST() 88 .output_channels(17) in TEST() 98 .output_channels(17) in TEST()
|
D | fully-connected-operator-tester.h | 37 inline FullyConnectedOperatorTester& output_channels(size_t output_channels) { in output_channels() function 38 assert(output_channels >= 1); in output_channels() 39 this->output_channels_ = output_channels; in output_channels() 43 inline size_t output_channels() const { in output_channels() function 80 return output_channels(); in output_stride() 82 assert(this->output_stride_ >= output_channels()); in output_stride() 140 std::vector<uint8_t> kernel(output_channels() * input_channels()); in TestQU8() 141 std::vector<int32_t> bias(output_channels()); in TestQU8() 142 std::vector<uint8_t> output((batch_size() - 1) * output_stride() + output_channels()); in TestQU8() 143 std::vector<int32_t> accumulators(batch_size() * output_channels()); in TestQU8() [all …]
|
D | depthtospace-microkernel-tester.h | 25 inline DepthToSpaceMicrokernelTester& output_channels(size_t output_channels) { in output_channels() argument 26 assert(output_channels != 0); in output_channels() 27 this->output_channels_ = output_channels; in output_channels() 31 inline size_t output_channels() const { in output_channels() function 36 return this->output_channels() * this->block_size() * this->block_size(); in input_channels() 87 return this->output_channels(); in output_channel_stride() 108 …32_t> output((output_height() * output_width() - 1) * output_channel_stride() + output_channels()); in Test() 115 output_channels(), in Test() 128 for (size_t oc = 0; oc < output_channels(); oc++) { in Test() 130 … (((by * block_size() + bx) * output_channels() + oc) * input_height() + iy) * input_width() + ix; in Test() [all …]
|
D | depth-to-space-operator-tester.h | 71 return output_channels() * block_size() * block_size(); in input_channels() 74 inline DepthToSpaceOperatorTester& output_channels(size_t output_channels) { in output_channels() function 75 assert(output_channels != 0); in output_channels() 76 this->output_channels_ = output_channels; in output_channels() 80 inline size_t output_channels() const { in output_channels() function 117 return output_channels(); in output_channels_stride() 119 assert(this->output_channels_stride_ >= output_channels()); in output_channels_stride() 141 …tch_size() * output_height() * output_width() - 1) * output_channels_stride() + output_channels()); in TestNHWCxX32() 152 output_channels(), input_channels_stride(), output_channels_stride(), in TestNHWCxX32() 174 for (size_t oc = 0; oc < output_channels(); oc++) { in TestNHWCxX32() [all …]
|
D | conv-hwc2chw-microkernel-tester.h | 137 inline ConvHWC2CHWMicrokernelTester& output_channels(size_t output_channels) { in output_channels() argument 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 …]
|
D | conv-hwc-microkernel-tester.h | 137 inline ConvHWCMicrokernelTester& output_channels(size_t output_channels) { in output_channels() argument 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() 298 …std::vector<float> kernel(output_channels() * kernel_height() * kernel_width() * input_channels()); 299 std::vector<float> bias(output_channels()); 300 …tch_size() * ((output_height() * output_width() - 1) * output_pixel_stride() + output_channels())); 301 …std::vector<float> output_ref(batch_size() * output_height() * output_width() * output_channels()); [all …]
|
D | x32-depthtospace2d-chw2hwc.cc | 17 .output_channels(1) in TEST() 24 .output_channels(channels) in TEST() 34 .output_channels(channels) in TEST() 48 .output_channels(channels) in TEST()
|
D | pad-microkernel-tester.h | 62 inline size_t output_channels() const { in output_channels() function 124 &output_ref[i * output_channels() + pre_padding()]); in Test() 139 for (size_t c = 0; c < output_channels(); c++) { in Test() 140 ASSERT_EQ(output_ref[i * output_channels() + c], output[i * output_stride() + c]) in Test() 141 << "at row " << i << " / " << rows() << ", channel " << i << " / " << output_channels() in Test()
|
D | deconvolution-nhwc.cc | 73 …for (size_t output_channels = 1; output_channels <= xnn_params.qu8.gemm.nr * 2; output_channels *=… variable 78 .group_output_channels(output_channels) 202 …for (size_t output_channels = 1; output_channels <= xnn_params.qu8.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.qu8.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.qu8.gemm.nr * 2; output_channels *=… in TEST() local 483 .group_output_channels(output_channels) in TEST() 741 …for (size_t output_channels = 1; output_channels <= xnn_params.qu8.gemm.nr * 2; output_channels *=… variable 747 .group_output_channels(output_channels) [all …]
|
/external/webrtc/audio/utility/ |
D | channel_mixing_matrix_unittest.cc | 55 const int output_channels = ChannelLayoutToChannelCount(output_layout); in TEST() local 66 for (int i = 0; i < output_channels; i++) { in TEST() 182 const int output_channels = ChannelLayoutToChannelCount(output_layout); in TEST() local 184 output_layout, output_channels); in TEST() 197 EXPECT_EQ(static_cast<size_t>(output_channels), matrix.size()); in TEST() 198 for (int n = 0; n < output_channels; n++) { in TEST() 212 const int output_channels = ChannelLayoutToChannelCount(output_layout); in TEST() local 214 output_layout, output_channels); in TEST() 227 EXPECT_EQ(static_cast<size_t>(output_channels), matrix.size()); in TEST() 228 for (int n = 0; n < output_channels; n++) { in TEST() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/xnnpack/ |
D | fully_connected_test.cc | 38 const auto output_channels = channels_rng(); variable 43 .OutputChannels(output_channels) 57 const auto output_channels = channels_rng(); variable 62 .OutputChannels(output_channels) 80 const auto output_channels = channels_rng(); variable 85 .OutputChannels(output_channels) 102 const auto output_channels = channels_rng(); variable 107 .OutputChannels(output_channels) 126 const auto output_channels = channels_rng(); variable 131 .OutputChannels(output_channels) [all …]
|
D | depth_to_space_tester.h | 46 inline DepthToSpaceTester& OutputChannels(int32_t output_channels) { in OutputChannels() argument 47 EXPECT_GT(output_channels, 0); in OutputChannels() 48 output_channels_ = output_channels; in OutputChannels()
|
/external/XNNPACK/src/operators/ |
D | depth-to-space-nhwc.c | 17 size_t output_channels, in xnn_create_depth_to_space_nhwc_x32() argument 35 if (output_channels == 0) { in xnn_create_depth_to_space_nhwc_x32() 37 xnn_operator_type_to_string(xnn_operator_type_depth_to_space_nhwc_x32), output_channels); in xnn_create_depth_to_space_nhwc_x32() 41 if (output_channel_stride < output_channels) { in xnn_create_depth_to_space_nhwc_x32() 46 output_channel_stride, output_channels); in xnn_create_depth_to_space_nhwc_x32() 57 const size_t input_channels = output_channels * block_size * block_size; in xnn_create_depth_to_space_nhwc_x32() 77 depth_to_space_op->channels = output_channels; in xnn_create_depth_to_space_nhwc_x32() 130 const size_t output_channels = depth_to_space_op->channels; in xnn_setup_depth_to_space_nhwc_x32() local 134 .elements = output_channels * sizeof(float), in xnn_setup_depth_to_space_nhwc_x32() 145 if (depth_to_space_op->output_pixel_stride == output_channels) { in xnn_setup_depth_to_space_nhwc_x32()
|
D | fully-connected-nc.c | 28 size_t output_channels, in create_fully_connected_nc() argument 65 if (output_channels == 0) { in create_fully_connected_nc() 68 xnn_operator_type_to_string(operator_type), output_channels); in create_fully_connected_nc() 80 if (output_stride < output_channels) { in create_fully_connected_nc() 84 xnn_operator_type_to_string(operator_type), output_stride, output_channels); in create_fully_connected_nc() 102 const size_t n_stride = round_up(output_channels, nr); in create_fully_connected_nc() 117 output_channels, input_channels, in create_fully_connected_nc() 124 1, output_channels, input_channels, in create_fully_connected_nc() 132 fully_connected_op->group_output_channels = output_channels; in create_fully_connected_nc() 194 const size_t output_channels = fully_connected_op->group_output_channels; in setup_fully_connected_nc() local [all …]
|
D | depth-to-space-nchw2nhwc.c | 17 size_t output_channels, in xnn_create_depth_to_space_nchw2nhwc_x32() argument 35 if (output_channels == 0) { in xnn_create_depth_to_space_nchw2nhwc_x32() 37 xnn_operator_type_to_string(xnn_operator_type_depth_to_space_nchw2nhwc_x32), output_channels); in xnn_create_depth_to_space_nchw2nhwc_x32() 41 if (output_channel_stride < output_channels) { in xnn_create_depth_to_space_nchw2nhwc_x32() 46 output_channel_stride, output_channels); in xnn_create_depth_to_space_nchw2nhwc_x32() 57 const size_t input_channels = output_channels * block_size * block_size; in xnn_create_depth_to_space_nchw2nhwc_x32() 77 depth_to_space_op->channels = output_channels; in xnn_create_depth_to_space_nchw2nhwc_x32() 133 .output_channels = depth_to_space_op->channels, in xnn_setup_depth_to_space_nchw2nhwc_x32()
|
/external/XNNPACK/bench/ |
D | f32-conv-hwc2chw.cc | 37 const size_t output_channels = state.range(2); in DConvHWC2CHW3X3S2P1Benchmark() local 53 std::vector<float> kernel(output_channels * kernel_size * kernel_size * input_channels); in DConvHWC2CHW3X3S2P1Benchmark() 55 std::vector<float> bias(output_channels); in DConvHWC2CHW3X3S2P1Benchmark() 61 benchmark::utils::RoundUp<size_t>(output_channels, output_channels_tile); in DConvHWC2CHW3X3S2P1Benchmark() 62 const size_t output_elements = output_height * output_width * output_channels; in DConvHWC2CHW3X3S2P1Benchmark() 70 output_channels, input_channels, output_channels_tile, in DConvHWC2CHW3X3S2P1Benchmark() 98 padding, output_channels, in DConvHWC2CHW3X3S2P1Benchmark() 99 output_channels * output_width * sizeof(float), in DConvHWC2CHW3X3S2P1Benchmark() 100 output_channels * sizeof(float), in DConvHWC2CHW3X3S2P1Benchmark() 112 input_channels * output_channels * in DConvHWC2CHW3X3S2P1Benchmark()
|
D | f32-conv-hwc.cc | 35 const size_t output_channels = state.range(2); in DConv3X3S2P1Benchmark() local 51 std::vector<float> kernel(output_channels * kernel_size * kernel_size * input_channels); in DConv3X3S2P1Benchmark() 53 std::vector<float> bias(output_channels); in DConv3X3S2P1Benchmark() 59 benchmark::utils::RoundUp<size_t>(output_channels, output_channels_tile); in DConv3X3S2P1Benchmark() 60 const size_t output_elements = output_height * output_width * output_channels; in DConv3X3S2P1Benchmark() 68 output_channels, input_channels, output_channels_tile, in DConv3X3S2P1Benchmark() 96 padding, output_channels, in DConv3X3S2P1Benchmark() 97 output_channels * output_width * sizeof(float), in DConv3X3S2P1Benchmark() 98 output_channels * sizeof(float), in DConv3X3S2P1Benchmark() 110 input_channels * output_channels * in DConv3X3S2P1Benchmark()
|
/external/XNNPACK/src/x32-depthtospace2d-chw2hwc/ |
D | scalar.c | 12 size_t output_channels, in xnn_x32_depthtospace2d_chw2hwc_ukernel__scalar() argument 20 assert(output_channels != 0); in xnn_x32_depthtospace2d_chw2hwc_ukernel__scalar() 29 for (size_t oc = 0; oc < output_channels; oc++) { in xnn_x32_depthtospace2d_chw2hwc_ukernel__scalar() 31 … input[(((by * block_size + bx) * output_channels + oc) * input_height + iy) * input_width + ix]; in xnn_x32_depthtospace2d_chw2hwc_ukernel__scalar()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/transformations/ |
D | add_bias.cc | 36 int output_channels, in FillBias() argument 40 MakeZeroTensor<Linear, DataType::FLOAT32>(Linear(output_channels)); in FillBias() 43 if (biases->shape.v != output_channels) { in FillBias() 45 biases->shape.v = output_channels; in FillBias() 46 biases->data.resize(output_channels, last_value); in FillBias()
|
/external/igt-gpu-tools/lib/ |
D | igt_alsa.c | 51 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/ |
D | image_diff_png.cpp | 123 int output_channels = 0; member in image_diff_png::__anonc84d1df30111::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 …]
|