# tf.raw_ops.StatsAggregatorSetSummaryWriter

<br />

Set a summary_writer_interface to record statistics using given stats_aggregator.

#### View aliases


**Compat aliases for migration**

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

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

<br />

    tf.raw_ops.StatsAggregatorSetSummaryWriter(
        stats_aggregator, summary, name=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `stats_aggregator` | A `Tensor` of type `resource`. |
| `summary` | A `Tensor` of type `resource`. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

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

<br />