ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

tf.raw_ops.ResourceAccumulatorSetGlobalStep

Updates the accumulator with a new value for global_step.

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

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).

The created Operation.