Returns the element-wise sum of a list of tensors.
Compat aliases for migration
See Migration guide for more details.
tf.raw_ops.AccumulateNV2( inputs, shape, name=None )
tf.accumulate_n_v2 performs the same operation as
tf.add_n, but does not
wait for all of its inputs to be ready before beginning to sum. This can
save memory if inputs are ready at different times, since minimum temporary
storage is proportional to the output size rather than the inputs size.
Unlike the original
accumulate_n_v2 is differentiable.
Tensor of same shape and type as the elements of
A list of at least 1
||A name for the operation (optional).|