W3cubDocs

/TensorFlow 2.3

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.

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.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.3/api_docs/python/tf/raw_ops/ResourceAccumulatorSetGlobalStep