mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-02 08:12:39 +02:00
bugfix: confused output dim and num_latents in svgp
This commit is contained in:
parent
762e1e75b0
commit
e9ff315a19
1 changed files with 2 additions and 2 deletions
|
|
@ -8,8 +8,8 @@ class SVGP(LatentFunctionInference):
|
|||
|
||||
def inference(self, q_u_mean, q_u_chol, kern, X, Z, likelihood, Y, mean_function=None, Y_metadata=None, KL_scale=1.0, batch_scale=1.0):
|
||||
|
||||
num_inducing = Z.shape[0]
|
||||
num_data, num_outputs = Y.shape
|
||||
num_data, _ = Y.shape
|
||||
num_inducing, num_outputs = q_u_mean.shape
|
||||
|
||||
#expand cholesky representation
|
||||
L = choleskies.flat_to_triang(q_u_chol)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue