mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-08 03:22:38 +02:00
enable rbf gpu to support psi2n
This commit is contained in:
parent
3a3f6cee44
commit
4f1328980c
1 changed files with 4 additions and 1 deletions
|
|
@ -360,7 +360,10 @@ class PSICOMP_RBF_GPU(PSICOMP_RBF):
|
|||
if self.GPU_direct:
|
||||
return psi0, psi1_gpu, psi2_gpu
|
||||
else:
|
||||
return psi0, psi1_gpu.get(), psi2_gpu.get()
|
||||
if return_psi2_n:
|
||||
return psi0, psi1_gpu.get(), psi2n_gpu.get()
|
||||
else:
|
||||
return psi0, psi1_gpu.get(), psi2_gpu.get()
|
||||
|
||||
def psiDerivativecomputations(self, kern, dL_dpsi0, dL_dpsi1, dL_dpsi2, Z, variational_posterior):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue