Sample multivariate normal random values with given mean and covariance.
The values are returned with the given shape, along with the final dimension used to represent the n-dimensional multivariate normal factors.
This uses Cholesky decomposition on the covariance matrix.
key
mean
[..., n]
cov
[..., n, n]
shape
mean.shape[:-1]
cov.shape[:-2]
Random samples of shape [...shape, n]
[...shape, n]
Sample multivariate normal random values with given mean and covariance.
The values are returned with the given shape, along with the final dimension used to represent the n-dimensional multivariate normal factors.
This uses Cholesky decomposition on the covariance matrix.
key- PRNG keymean- Mean vector of shape[..., n]cov- Covariance of shape[..., n, n], must be positive-definiteshape- Result batch shape, must be broadcastable withmean.shape[:-1]andcov.shape[:-2]