tf.compat.v1.nn.weighted_moments

View source on GitHub

Returns the frequency-weighted mean and variance of x.

tf.compat.v1.nn.weighted_moments(
    x, axes, frequency_weights, name=None, keep_dims=None, keepdims=None
)

Args:

Returns:

Two tensors: weighted_mean and weighted_variance.