# tf.raw_ops.ResourceAccumulatorSetGlobalStep

<br />

Updates the accumulator with a new value for global_step.

#### View aliases


**Compat aliases for migration**

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

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

<br />

    tf.raw_ops.ResourceAccumulatorSetGlobalStep(
        handle, new_global_step, name=None
    )

Logs warning if the accumulator's value is already higher than
new_global_step.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `handle` | A `Tensor` of type `resource`. The handle to an accumulator. |
| `new_global_step` | A `Tensor` of type `int64`. The new global_step value to set. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

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

<br />