tf.raw_ops.WriteAudioSummary
Записывает аудиосводку.
tf.raw_ops.WriteAudioSummary(
writer, step, tag, tensor, sample_rate, max_outputs=3, name=None
)
Записывает закодированную аудиосводку tensor в step с tag, используя сводку writer. sample_rate — частота дискретизации аудио в Гц.
| Аргументы | |
|---|---|
writer | Tensor типа resource. |
step | Tensor типа int64. |
tag | Tensor типа string. |
tensor | Tensor типа float32. |
sample_rate | Tensor типа float32. |
max_outputs | Необязательный int, который >= 1. По умолчанию — 3. |
name | Имя операции (необязательно). |
| Возвращает | |
|---|---|
| Созданный объект Operation. |
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/raw_ops/WriteAudioSummary