Home
last modified time | relevance | path

Searched refs:error_stats (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/
Dcpu_backend_gemm_test.cc159 ErrorStats* error_stats) { in ComputeErrorStats() argument
174 error_stats->scale_factor = max_abs_expected; in ComputeErrorStats()
175 error_stats->max_abs_diff = max_abs_diff; in ComputeErrorStats()
176 error_stats->mean_abs_diff = sum_abs_diff / actual.size(); in ComputeErrorStats()
177 error_stats->abs_mean_diff = std::abs(sum_diff / actual.size()); in ComputeErrorStats()
178 error_stats->size = actual.size(); in ComputeErrorStats()
182 bool CheckErrorStats(const ErrorStats& error_stats, int accumulation_depth) { in CheckErrorStats() argument
187 double inverse_size = 1. / error_stats.size; in CheckErrorStats()
222 tolerated_relative_max_abs_diff * error_stats.scale_factor; in CheckErrorStats()
224 tolerated_relative_mean_abs_diff * error_stats.scale_factor; in CheckErrorStats()
[all …]
/external/flac/src/libFLAC/
Dstream_encoder.c422 } error_stats; member
1162 encoder->private_->verify.error_stats.absolute_sample = 0; in init_stream_internal_()
1163 encoder->private_->verify.error_stats.frame_number = 0; in init_stream_internal_()
1164 encoder->private_->verify.error_stats.channel = 0; in init_stream_internal_()
1165 encoder->private_->verify.error_stats.sample = 0; in init_stream_internal_()
1166 encoder->private_->verify.error_stats.expected = 0; in init_stream_internal_()
1167 encoder->private_->verify.error_stats.got = 0; in init_stream_internal_()
2018 *absolute_sample = encoder->private_->verify.error_stats.absolute_sample; in FLAC__stream_encoder_get_verify_decoder_error_stats()
2020 *frame_number = encoder->private_->verify.error_stats.frame_number; in FLAC__stream_encoder_get_verify_decoder_error_stats()
2022 *channel = encoder->private_->verify.error_stats.channel; in FLAC__stream_encoder_get_verify_decoder_error_stats()
[all …]