def METHOD_NAME() -> None:
    """
    Check that the autograph=False for quadrature.ndiagquad does not throw an error.
    Regression test for https://github.com/GPflow/GPflow/issues/1547.
    """
    @tf.function(autograph=False)
    def func_ndiagquad_autograph_false() -> tf.Tensor:
        mu: AnyNDArray = np.array([1.0, 1.3])
        var: AnyNDArray = np.array([3.0, 3.5])
        num_gauss_hermite_points = 25
        return quadrature.ndiagquad(
            [lambda *X: tf.exp(X[0])], num_gauss_hermite_points, [mu], [var]
        )
    func_ndiagquad_autograph_false()