removing silly einsum

This commit is contained in:
James Hensman 2015-04-30 13:53:17 +01:00
parent 3c3af7f3fe
commit 55b77064d4

View file

@ -15,7 +15,6 @@ class SVGP(LatentFunctionInference):
L = choleskies.flat_to_triang(q_u_chol)
S_ein = np.einsum('ijk,ljk->ilk', L, L) #L.dot(L.T)
S = np.empty((num_outputs, num_inducing, num_inducing))
[np.dot(L[:,:,i], L[:,:,i].T, S[i,:,:]) for i in range(num_outputs)]
S = S.swapaxes(0,2)