bayespy.inference.vmp.transformations.RotateGaussianARD.__init__

RotateGaussianARD.__init__(X, *alpha, axis=- 1, precompute=False, subset=None)[source]

Precompute tells whether to compute some moments once in the setup function instead of every time in the bound function. However, they are computed a bit differently in the bound function so it can be useful too. Precomputation is probably beneficial only when there are large axes that are not rotated (by R nor Q) and they are not contained in the plates of alpha, and the dimensions for R and Q are quite small.