code: def moments(x, axes, shift=None, keepdims=False, name=None):
      return ivy.mean(
          x, axis=ivy.to_list(axes), keepdims=keepdims
      ), ivy.var(x, axis=ivy.to_list(axes), keepdims=keepdims)
  
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 31 for calling a global function with example usage: moments(x, axes, shift, keepdims, name) and returns: ivy,  ivy