tf.raw_ops.ResourceAccumulatorNumAccumulated

Returns the number of gradients aggregated in the given accumulators.

tf.raw_ops.ResourceAccumulatorNumAccumulated(
    handle, name=None
)

Args:

  • handle: A Tensor of type resource. The handle to an accumulator.
  • name: A name for the operation (optional).

Returns:

A Tensor of type int32.