code: def hermgauss(n: int) -> Tuple[AnyNDArray, AnyNDArray]:
      # Type-ignore is because for some versions mypy can't find np.polynomial.hermite
      x, w = np.polynomial.hermite.hermgauss(n)
      x, w = x.astype(default_float()), w.astype(default_float())
      return x, w
  
file_path: GPflow/gpflow/quadrature/deprecated.py
imports: import itertools
  import warnings
  from functools import wraps
  from typing import Callable, Iterable, List, Optional, Tuple, Union
  import numpy
  import tensorflow
  from check_shapes import check_shapes
  from ..base import AnyNDArray, TensorType
  from ..config import default_float
  from ..utilities import to_default_float
  from .gauss_hermite import NDiagGHQuadrature
label_desc: Use image node_id 1 for calling a global function with example usage: hermgauss(n) and returns: x,  w