Home
last modified time | relevance | path

Searched refs:total_samples (Results 1 – 25 of 40) sorted by relevance

12

/external/tensorflow/tensorflow/core/lib/monitoring/
Dpercentile_sampler.cc46 size_t total_samples; in value() local
48 std::vector<Sample> samples = GetSamples(&total_samples, &accumulator); in value()
51 pct_samples.total_samples = total_samples; in value()
83 size_t* total_samples, long double* accumulator) const { in GetSamples() argument
92 *total_samples = total_samples_; in GetSamples()
Dtypes.h41 size_t total_samples = 0; member
Dpercentile_sampler.h71 std::vector<Sample> GetSamples(size_t* total_samples,
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_v2.py237 total_samples = _get_total_number_of_samples(training_data_adapter)
238 use_sample = total_samples is not None
293 if verbose and (total_samples or steps_per_epoch):
294 _print_train_info(total_samples, steps_per_epoch, val_total_samples,
304 samples=total_samples or steps_per_epoch,
338 num_samples=total_samples,
425 total_samples = _get_total_number_of_samples(adapter)
426 use_sample = total_samples is not None
453 samples=total_samples,
470 num_samples=total_samples,
[all …]
/external/libvpx/libvpx/vpx_dsp/
Dpsnr.c213 uint32_t total_samples = 0; in vpx_calc_highbd_psnr() local
238 total_samples += samples; in vpx_calc_highbd_psnr()
242 psnr->samples[0] = total_samples; in vpx_calc_highbd_psnr()
244 vpx_sse_to_psnr((double)total_samples, peak, (double)total_sse); in vpx_calc_highbd_psnr()
261 uint32_t total_samples = 0; in vpx_calc_psnr() local
274 total_samples += samples; in vpx_calc_psnr()
278 psnr->samples[0] = total_samples; in vpx_calc_psnr()
280 vpx_sse_to_psnr((double)total_samples, peak, (double)total_sse); in vpx_calc_psnr()
/external/webrtc/webrtc/base/
Dratetracker.cc76 size_t total_samples = ((sample_buckets_[start_bucket] * in ComputeRateForInterval() local
84 total_samples += sample_buckets_[i]; in ComputeRateForInterval()
87 return static_cast<double>(total_samples * 1000u) / in ComputeRateForInterval()
/external/libaom/libaom/aom_dsp/
Dpsnr.c373 uint32_t total_samples = 0; in aom_calc_highbd_psnr() local
399 total_samples += samples; in aom_calc_highbd_psnr()
403 psnr->samples[0] = total_samples; in aom_calc_highbd_psnr()
405 aom_sse_to_psnr((double)total_samples, peak, (double)total_sse); in aom_calc_highbd_psnr()
419 uint32_t total_samples = 0; in aom_calc_psnr() local
432 total_samples += samples; in aom_calc_psnr()
436 psnr->samples[0] = total_samples; in aom_calc_psnr()
438 aom_sse_to_psnr((double)total_samples, peak, (double)total_sse); in aom_calc_psnr()
/external/mesa3d/bin/
Dperf-annotate-jit.py156 total_samples = 0
166 total_samples += sample
168 print 'total:', total_samples
/external/skqp/src/gpu/gl/
DGrGLRenderTarget.cpp255 int total_samples = this->msaaSamples(); in totalSamples() local
259 total_samples += 1; in totalSamples()
262 return total_samples; in totalSamples()
/external/skia/src/gpu/gl/
DGrGLRenderTarget.cpp252 int total_samples = this->msaaSamples(); in totalSamples() local
256 total_samples += 1; in totalSamples()
259 return total_samples; in totalSamples()
/external/libhevc/common/arm/
Dihevc_intra_ref_substitution_a9q.c115 WORD32 total_samples = (4 * nt) + 1; in ihevc_intra_pred_chroma_ref_substitution_a9q() local
131 for(i = 0; i < (2 * total_samples); i++) in ihevc_intra_pred_chroma_ref_substitution_a9q()
409 WORD32 total_samples = (4 * nt) + 1; in ihevc_intra_pred_luma_ref_substitution_a9q() local
431 for(i = 0; i < total_samples; i++) in ihevc_intra_pred_luma_ref_substitution_a9q()
/external/flac/libFLAC/include/private/
Dlpc.h230 double FLAC__lpc_compute_expected_bits_per_residual_sample(double lpc_error, unsigned total_samples
246 …ute_best_order(const double lpc_error[], unsigned max_order, unsigned total_samples, unsigned over…
/external/flac/libFLAC/
Dmetadata_object.c711 if (block1->total_samples != block2->total_samples) in compare_block_data_streaminfo_()
1081 …mplate_append_spaced_points(FLAC__StreamMetadata *object, unsigned num, FLAC__uint64 total_samples) in FLAC__metadata_object_seektable_template_append_spaced_points() argument
1085 FLAC__ASSERT(total_samples > 0); in FLAC__metadata_object_seektable_template_append_spaced_points()
1087 if (num > 0 && total_samples > 0) { in FLAC__metadata_object_seektable_template_append_spaced_points()
1097 seek_table->points[i].sample_number = total_samples * (FLAC__uint64)j / (FLAC__uint64)num; in FLAC__metadata_object_seektable_template_append_spaced_points()
1106 …paced_points_by_samples(FLAC__StreamMetadata *object, unsigned samples, FLAC__uint64 total_samples) in FLAC__metadata_object_seektable_template_append_spaced_points_by_samples() argument
1111 FLAC__ASSERT(total_samples > 0); in FLAC__metadata_object_seektable_template_append_spaced_points_by_samples()
1113 if (samples > 0 && total_samples > 0) { in FLAC__metadata_object_seektable_template_append_spaced_points_by_samples()
1118 num = 1 + total_samples / samples; /* 1+ for the first sample at 0 */ in FLAC__metadata_object_seektable_template_append_spaced_points_by_samples()
1120 if (total_samples % samples == 0) in FLAC__metadata_object_seektable_template_append_spaced_points_by_samples()
[all …]
Dlpc.c1305 double FLAC__lpc_compute_expected_bits_per_residual_sample(double lpc_error, unsigned total_samples) in FLAC__lpc_compute_expected_bits_per_residual_sample() argument
1309 FLAC__ASSERT(total_samples > 0); in FLAC__lpc_compute_expected_bits_per_residual_sample()
1311 error_scale = 0.5 / (double)total_samples; in FLAC__lpc_compute_expected_bits_per_residual_sample()
1333 …ute_best_order(const double lpc_error[], unsigned max_order, unsigned total_samples, unsigned over… in FLAC__lpc_compute_best_order() argument
1339 FLAC__ASSERT(total_samples > 0); in FLAC__lpc_compute_best_order()
1341 error_scale = 0.5 / (double)total_samples; in FLAC__lpc_compute_best_order()
1347 …dual_sample_with_error_scale(lpc_error[indx], error_scale) * (double)(total_samples - order) + (do… in FLAC__lpc_compute_best_order()
Dstream_encoder_framing.c99 …FLAC__ASSERT(metadata->data.stream_info.total_samples < (FLAC__U64L(1) << FLAC__STREAM_METADATA_ST… in FLAC__add_metadata_block()
100 …if(!FLAC__bitwriter_write_raw_uint64(bw, metadata->data.stream_info.total_samples, FLAC__STREAM_ME… in FLAC__add_metadata_block()
Dstream_decoder.c860 …oder->private_->has_stream_info? decoder->private_->stream_info.data.stream_info.total_samples : 0; in FLAC__stream_decoder_get_total_samples()
1625 …er->private_->input, &decoder->private_->stream_info.data.stream_info.total_samples, FLAC__STREAM_… in read_metadata_streaminfo_()
3005 const FLAC__uint64 total_samples = FLAC__stream_decoder_get_total_samples(decoder); in seek_to_absolute_sample_() local
3046 upper_bound_sample = total_samples > 0 ? total_samples : target_sample /*estimate it*/; in seek_to_absolute_sample_()
3067 …(total_samples <= 0 || seek_table->points[i].sample_number < total_samples) && /* defense against … in seek_to_absolute_sample_()
3082 …(total_samples <= 0 || seek_table->points[i].sample_number < total_samples) && /* defense against … in seek_to_absolute_sample_()
/external/adhd/cras/src/server/
Dcras_dsp_pipeline.c144 int64_t total_samples; member
822 pipeline->total_samples += samples; in cras_dsp_pipeline_add_statistic()
959 dumpf(d, " processed samples: %" PRId64 "\n", pipeline->total_samples); in cras_dsp_pipeline_dump()
965 pipeline->total_samples / pipeline->total_blocks); in cras_dsp_pipeline_dump()
974 pipeline->total_time * 1e-9 / pipeline->total_samples * in cras_dsp_pipeline_dump()
/external/tensorflow/tensorflow/core/lib/random/
Drandom_distributions_test.cc327 uint64 total_samples = 100; in SingleSampleAdapterSkipTest() local
356 for (; cur < total_samples; cur++) { in SingleSampleAdapterSkipTest()
/external/flac/include/FLAC/
Dmetadata.h1519 …plate_append_spaced_points(FLAC__StreamMetadata *object, unsigned num, FLAC__uint64 total_samples);
1547 …aced_points_by_samples(FLAC__StreamMetadata *object, unsigned samples, FLAC__uint64 total_samples);
Dformat.h535 FLAC__uint64 total_samples; member
/external/exoplayer/tree/extensions/flac/src/main/jni/include/
Dflac_parser.h57 FLAC__uint64 getTotalSamples() const { return mStreamInfo.total_samples; } in getTotalSamples()
/external/libxaac/test/
Dixheaacd_main.c813 WORD32 total_samples = 0; in ixheaacd_main_process() local
1566 if (eld_testing == 0) total_samples = get_play_time_in_samples(meta_info); in ixheaacd_main_process()
1787 if (total_samples != 0) // Usac stream in ixheaacd_main_process()
1815 if (samples_written > total_samples) { in ixheaacd_main_process()
1816 i_out_bytes = (total_samples - (samples_written - current_samples)) * in ixheaacd_main_process()
/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_metrics.cc57 percentiles->set_total_samples(point->percentiles_value.total_samples); in AddMetrics()
/external/libhevc/common/
Dihevc_chroma_intra_pred_filters.c146 WORD32 total_samples = (4 * nt) + 1; in ihevc_intra_pred_chroma_ref_substitution() local
162 for(i = 0; i < (2 * total_samples); i++) in ihevc_intra_pred_chroma_ref_substitution()
/external/exoplayer/tree/extensions/flac/src/main/jni/
Dflac_jni.cc160 streamInfo.bits_per_sample, streamInfo.total_samples, in DECODER_FUNC()

12