# tf.raw_ops.WriteAudioSummary

<br />

Writes an audio summary.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.raw_ops.WriteAudioSummary`](https://www.tensorflow.org/api_docs/python/tf/raw_ops/WriteAudioSummary)

<br />

    tf.raw_ops.WriteAudioSummary(
        writer, step, tag, tensor, sample_rate, max_outputs=3, name=None
    )

Writes encoded audio summary `tensor` at `step` with `tag` using summary `writer`.
`sample_rate` is the audio sample rate is Hz.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `writer` | A `Tensor` of type `resource`. |
| `step` | A `Tensor` of type `int64`. |
| `tag` | A `Tensor` of type `string`. |
| `tensor` | A `Tensor` of type `float32`. |
| `sample_rate` | A `Tensor` of type `float32`. |
| `max_outputs` | An optional `int` that is `>= 1`. Defaults to `3`. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| The created Operation. ||

<br />