ott.tools.gaussian_mixture.gaussian_mixture.GaussianMixture.sample#

GaussianMixture.sample(key, size)[source]#

Generate samples from the distribution.

Return type

Array

Parameters
  • key (jax.Array) –

  • size (int) –