# tf.contrib.distributions.quadrature_scheme_lognormal_gauss_hermite

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/distributions/python/ops/poisson_lognormal.py#L46-L94) |

Use Gauss-Hermite quadrature to form quadrature on positive-reals. (deprecated)

    tf.contrib.distributions.quadrature_scheme_lognormal_gauss_hermite(
        loc, scale, quadrature_size, validate_args=False, name=None
    )

> [!WARNING]
> **Warning:** THIS FUNCTION IS DEPRECATED. It will be removed after 2018-10-01. Instructions for updating: The TensorFlow Distributions library has moved to TensorFlow Probability (https://github.com/tensorflow/probability). You should update all references to use [`tfp.distributions`](https://www.tensorflow.org/probability/api_docs/python/tfp/distributions) instead of [`tf.contrib.distributions`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/distributions).

> [!NOTE]
> **Note:** for a given `quadrature_size`, this method is generally less accurate than `quadrature_scheme_lognormal_quantiles`.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `loc` | `float`-like (batch of) scalar `Tensor`; the location parameter of the LogNormal prior. |
| `scale` | `float`-like (batch of) scalar `Tensor`; the scale parameter of the LogNormal prior. |
| `quadrature_size` | Python `int` scalar representing the number of quadrature points. |
| `validate_args` | Python `bool`, default `False`. When `True` distribution parameters are checked for validity despite possibly degrading runtime performance. When `False` invalid inputs may silently render incorrect outputs. |
| `name` | Python `str` name prefixed to Ops created by this class. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| `grid` | (Batch of) length-`quadrature_size` vectors representing the `log_rate` parameters of a `Poisson`. |
| `probs` | (Batch of) length-`quadrature_size` vectors representing the weight associate with each `grid` value. |

<br />