tf.compat.v1.reduce_sum

Computes the sum of elements across d