# tf.raw_ops.WriteGraphSummary

<br />

Writes a graph summary.

#### View aliases


**Compat aliases for migration**

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

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

<br />

    tf.raw_ops.WriteGraphSummary(
        writer, step, tensor, name=None
    )

Writes TensorFlow graph `tensor` at `step` using summary `writer`.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `writer` | A `Tensor` of type `resource`. |
| `step` | A `Tensor` of type `int64`. |
| `tensor` | A `Tensor` of type `string`. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

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

<br />