<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/probability/blob/v0.25.0/tensorflow_probability/python/experimental/sts_gibbs/gibbs_sampler.py#L398-L425) |

Computes the shape of seasonal latents.

    tfp.experimental.sts_gibbs.get_seasonal_latents_shape(
        timeseries, model, num_chains=()
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `timeseries` | Timeseries that is being modeled. Used to extract the timeseries length and batch shape. |
| `model` | The [`sts.Sum`](https://www.tensorflow.org/probability/api_docs/python/tfp/sts/Sum) model that the seasonal components will be found in. Must be a Gibbs-samplable model built with `build_model_for_gibbs_fitting`. |
| `num_chains` | Optional int to indicate the number of parallel MCMC chains. Default to an empty tuple to sample a single chain. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A shape list. ||

<br />