code: def _get_moments(
      ops: Ops, X: Floats2d
  ) -> Tuple[Floats2d, Floats2d, Floats2d]:
      # TODO: Do mean methods
      mu: Floats2d = X.mean(axis=1, keepdims=True)
      var: Floats2d = X.var(axis=1, keepdims=True) + 1e-08
      return cast(Floats2d, ops.asarray_f([X.shape[1]])), mu, var
  
file_path: thinc/thinc/layers/layernorm.py
imports: from typing import Callable, Optional, Tuple, cast
  from ..backends import Ops
  from ..config import registry
  from ..model import Model
  from ..types import Floats2d
  from ..util import get_width
label_desc: Use image node_id 5 for calling a global function with example usage: _get_moments(ops, X) and returns: cast,  mu,  var