Searched refs:channel_idx (Results 1 – 9 of 9) sorted by relevance
/external/tensorflow/tensorflow/lite/tools/optimize/ |
D | quantization_utils.cc | 99 int channel_idx = indices[channel_dim_index]; in SymmetricPerChannelQuantization() local 101 if (has_min_max_value[channel_idx]) { in SymmetricPerChannelQuantization() 102 if (min_vals[channel_idx] > val) { in SymmetricPerChannelQuantization() 103 min_vals[channel_idx] = val; in SymmetricPerChannelQuantization() 104 } else if (max_vals[channel_idx] < val) { in SymmetricPerChannelQuantization() 105 max_vals[channel_idx] = val; in SymmetricPerChannelQuantization() 108 min_vals[channel_idx] = val; in SymmetricPerChannelQuantization() 109 max_vals[channel_idx] = val; in SymmetricPerChannelQuantization() 110 has_min_max_value[channel_idx] = true; in SymmetricPerChannelQuantization() 120 for (size_t channel_idx = 0; channel_idx < channel_dim_size; channel_idx++) { in SymmetricPerChannelQuantization() local [all …]
|
D | subgraph_quantizer_test.cc | 149 for (size_t channel_idx = 0; channel_idx < out_channel_size; channel_idx++) { in TEST() local 151 size_t element_idx = channel_idx * out_channel_size + j; in TEST() 153 weight_values[element_idx] * weights_scales[channel_idx]; in TEST() 242 for (size_t channel_idx = 0; channel_idx < out_channel_size; channel_idx++) { in TEST() local 244 size_t element_idx = channel_idx * out_channel_size + j; in TEST() 245 auto scale = weights_scales[channel_idx]; in TEST() 246 auto zero_point = weights_zero_points[channel_idx]; in TEST()
|
D | subgraph_quantizer.cc | 177 for (int32_t channel_idx = 0; channel_idx < channel_dim_size; channel_idx++) { in SymmetricPerChannelBiasQuantize() local 178 float scaling_factor = scales[channel_idx]; in SymmetricPerChannelBiasQuantize() 181 TfLiteRound(float_data[channel_idx] * scaling_factor_inv)); in SymmetricPerChannelBiasQuantize() 182 final_buffer[channel_idx] = in SymmetricPerChannelBiasQuantize()
|
/external/autotest/client/cros/audio/ |
D | check_quality.py | 295 for channel_idx in xrange(self._raw_data.channel): 296 signal = self._raw_data.channel_data[channel_idx] 298 logging.debug('Channel %d max abs signal: %f', channel_idx, max_abs) 301 channel_idx) 313 logging.debug('Channel %d spectral:\n%s', channel_idx, 320 'above %f:\n%s', channel_idx, ignore_high_freq, 334 logging.debug('Channel %d quality:\n%s', channel_idx,
|
/external/grpc-grpc/test/cpp/interop/ |
D | stress_test.cc | 282 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/ |
D | channelz_service_test.cc | 141 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/ |
D | cplay.c | 103 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/ |
D | dfs.c | 200 int i, channel_idx = 0, n_chans, n_chans1; in dfs_find_channel() local 223 if (ret_chan && idx == channel_idx) { in dfs_find_channel() 229 channel_idx++; in dfs_find_channel() 231 return channel_idx; in dfs_find_channel()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl3cTextureSwizzleTests.cpp | 1865 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()
|