code: def normalize_moments(
      counts, mean_ss, variance_ss, shift=None, name=None
  ):
      divisor = ivy.reciprocal(counts)
      if shift is not None:
          shifted_mean = ivy.multiply(mean_ss, divisor)
          mean = ivy.add(shifted_mean, shift)
      else:
          shifted_mean = ivy.multiply(mean_ss, divisor)
          mean = shifted_mean
  
      variance = ivy.subtract(
          ivy.multiply(variance_ss, divisor), ivy.square(shifted_mean)
      )
      return mean, variance
  
imports: import ivy
  from ivy.functional.frontends.tensorflow.func_wrapper import to_ivy_arrays_and_back
  from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
  from ivy.functional.frontends.tensorflow import check_tensorflow_casting
label_desc: Use image node_id 32 for calling a global function with example usage: normalize_moments(counts, mean_ss, variance_ss, shift, name) and returns: mean,  variance