Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
zhixiaozhu committed Oct 9, 2023
1 parent fabb9ae commit a0e11e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpflow/covariances/kuus.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def Kuu_sqexp_multiscale(
Zmu, Zlen = kernel.slice(inducing_variable.Z, inducing_variable.scales)
idlengthscales2 = tf.square(kernel.lengthscales + Zlen)
sc = tf.sqrt(
idlengthscales2[None, ...] + idlengthscales2[:, None, ...] - kernel.lengthscales**2
idlengthscales2[None, ...] + idlengthscales2[:, None, ...] - kernel.lengthscales ** 2
)
d = inducing_variable._cust_square_dist(Zmu, Zmu, sc)
Kzz = kernel.variance * tf.exp(-d / 2) * tf.reduce_prod(kernel.lengthscales / sc, 2)
Expand Down

0 comments on commit a0e11e3

Please sign in to comment.