code: def higher_order_moment(
      x: Union[ivy.Array, ivy.NativeArray],
      order: int,
      /,
      *,
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      """Compute the Higher-Order Moment.
  
      Parameters
      ----------
      x
          matrix of size (n_samples, n_features)
          or tensor of size(n_samples, D1, ..., DN)
  
      order
          number of the higher-order moment to compute
  
      Returns
      -------
      tensor
          if tensor is a matrix of size (n_samples, n_features),
          tensor of size (n_features, )*order
  
      Examples
      --------
      >>> a = ivy.array([[1, 2], [3, 4]])
      >>> result = ivy.higher_order_moment(a, 3)
      >>> print(result)
      ivy.array([[
          [14, 19],
          [19, 26]],
         [[19, 26],
          [26, 36]
      ]])
      """
      moment = ivy.copy_array(x)
      for _ in range(order - 1):
          moment = ivy.batched_outer([moment, x])
      return ivy.mean(moment, axis=0, out=out)
  
imports: import logging
  from typing import Union, Optional, Tuple, List, Sequence, Literal
  import ivy
  from ivy.utils.backend import current_backend
  from ivy.func_wrapper import to_native_arrays_and_back, handle_out_argument, handle_nestable, handle_array_like_without_promotion, handle_array_function, handle_device, inputs_to_ivy_arrays, handle_backend_invalid
  from ivy.utils.exceptions import handle_exceptions
label_desc: Use image node_id 28 for calling a global function with example usage: higher_order_moment() and returns: ivy