Skip to content

Commit

Permalink
Update pf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yiwang12 authored Oct 9, 2024
1 parent adf250b commit 9923f1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mNSF/NSF/pf.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def __init__(self, J, L, Z, lik="poi", chol = True, X=None, psd_kernel=tfk.Mater
self._init_misc()
self.Kuu_chol = tf.Variable(self.eval_Kuu_chol(self.get_kernel()), dtype=dtp, trainable=False)
if not(chol):
kernel = self.kernel
N = X.shape[0]
mu_x = self.beta0+tfl.matmul(self.beta, X, transpose_b=True) #LxN
self.Kuf = kernel.matrix(self.Z, X) #LxMxN
Expand Down

0 comments on commit 9923f1e

Please sign in to comment.