Updates the accumulator with a new value for global_step.
tf.raw_ops.ResourceAccumulatorSetGlobalStep(
handle, new_global_step, name=None
)
Logs warning if the accumulator's value is already higher than new_global_step.
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). |
Returns | |
|---|---|
| The created Operation. |