Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/
Dsummary_audio_op.cc88 size_t sample_rate_truncated = lrintf(sample_rate); in Compute() local
89 if (sample_rate_truncated == 0) { in Compute()
90 sample_rate_truncated = 1; in Compute()
93 data, sample_rate_truncated, num_channels, in Compute()
/external/tensorflow/tensorflow/core/summary/
Dsummary_converter.cc316 size_t sample_rate_truncated = lrintf(sample_rate); in AddTensorAsAudioToSummary() local
317 if (sample_rate_truncated == 0) { in AddTensorAsAudioToSummary()
318 sample_rate_truncated = 1; in AddTensorAsAudioToSummary()
321 channels_by_frames.data(), sample_rate_truncated, num_channels, in AddTensorAsAudioToSummary()