tf.compat.v1.metrics.mean_tensor

Computes the element-wise (weighted) mean of the given tensors.

In contrast to the mean function which returns a scalar with the mean, this function returns an average tensor with the same shape as the input tensors.

The mean_tensor function cr