Home
last modified time | relevance | path

Searched refs:channel_idx (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantization_utils.cc172 int channel_idx = indices[channel_dim_index]; in FillPerChannelMinMax() local
174 if (has_min_max_value[channel_idx]) { in FillPerChannelMinMax()
175 if (quantization_params->min[channel_idx] > val) { in FillPerChannelMinMax()
176 quantization_params->min[channel_idx] = val; in FillPerChannelMinMax()
177 } else if (quantization_params->max[channel_idx] < val) { in FillPerChannelMinMax()
178 quantization_params->max[channel_idx] = val; in FillPerChannelMinMax()
181 quantization_params->min[channel_idx] = val; in FillPerChannelMinMax()
182 quantization_params->max[channel_idx] = val; in FillPerChannelMinMax()
183 has_min_max_value[channel_idx] = true; in FillPerChannelMinMax()
217 for (int channel_idx = 0; channel_idx < num_channels; ++channel_idx) { in GetSymmetricScalesFromMaxMin() local
[all …]
Dquantize_model_test.cc680 for (size_t channel_idx = 0; channel_idx < out_channel_size; channel_idx++) { in TEST_F() local
682 size_t element_idx = channel_idx * out_channel_size + j; in TEST_F()
684 weight_values[element_idx] * weights_scales[channel_idx]; in TEST_F()
797 for (size_t channel_idx = 0; channel_idx < out_channel_size; channel_idx++) { in TEST_P() local
799 size_t element_idx = channel_idx * out_channel_size + j; in TEST_P()
800 auto scale = weights_scales[channel_idx]; in TEST_P()
801 auto zero_point = weights_zero_points[channel_idx]; in TEST_P()
/external/webrtc/modules/audio_processing/agc2/
Dfixed_digital_level_estimator.cc52 for (size_t channel_idx = 0; channel_idx < float_frame.num_channels(); in ComputeLevel() local
53 ++channel_idx) { in ComputeLevel()
54 const auto channel = float_frame.channel(channel_idx); in ComputeLevel()
/external/autotest/client/cros/audio/
Dcheck_quality.py302 for channel_idx in range(self._raw_data.channel):
303 signal = self._raw_data.channel_data[channel_idx]
305 logging.debug('Channel %d max abs signal: %f', channel_idx, max_abs)
308 channel_idx)
320 logging.debug('Channel %d spectral:\n%s', channel_idx,
327 'above %f:\n%s', channel_idx, ignore_high_freq,
341 logging.debug('Channel %d quality:\n%s', channel_idx,
/external/grpc-grpc/test/cpp/interop/
Dstress_test.cc282 for (int channel_idx = 0; channel_idx < FLAGS_num_channels_per_server; in main() local
283 channel_idx++) { in main()
285 channel_idx); in main()
305 server_idx, channel_idx, stub_idx); in main()
/external/grpc-grpc/test/cpp/end2end/
Dchannelz_service_test.cc141 void SendSuccessfulEcho(int channel_idx) { in SendSuccessfulEcho() argument
145 request.mutable_param()->set_backend_channel_idx(channel_idx); in SendSuccessfulEcho()
152 void SendFailedEcho(int channel_idx) { in SendFailedEcho() argument
156 request.mutable_param()->set_backend_channel_idx(channel_idx); in SendFailedEcho()
167 intptr_t GetChannelId(int channel_idx) { in GetChannelId() argument
174 EXPECT_GT(response.channel_size(), channel_idx); in GetChannelId()
175 return response.channel(channel_idx).ref().channel_id(); in GetChannelId()
/external/tinycompress/
Dcplay.c103 int ver_idx, mp3_version, layer, bit_rate_idx, sample_rate_idx, channel_idx; in parse_mp3_header() local
115 channel_idx = ((header->format2 >> 6) & 0x03); in parse_mp3_header()
121 *num_channels = (channel_idx == MONO ? 1 : 2); in parse_mp3_header()
/external/wpa_supplicant_8/src/ap/
Ddfs.c214 int i, channel_idx = 0, n_chans, n_chans1; in dfs_find_channel() local
249 if (ret_chan && idx == channel_idx) { in dfs_find_channel()
257 channel_idx++; in dfs_find_channel()
259 return channel_idx; in dfs_find_channel()
/external/deqp/external/openglcts/modules/gl/
Dgl3cTextureSwizzleTests.cpp1865 size_t get_swizzled_channel_idx(const size_t channel_idx, const glw::GLint swizzle_set[4]) in get_swizzled_channel_idx() argument
1867 const glw::GLint swizzle = swizzle_set[channel_idx]; in get_swizzled_channel_idx()
2517 for (size_t channel_idx = 0; channel_idx < 4; ++channel_idx) in iterate() local
2519 const testCase test_case = { channel_idx, in iterate()
3867 for (size_t channel_idx = 0; channel_idx < 4; ++channel_idx) in iterate() local
3869 const testCase test_case = { channel_idx, in iterate()