mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-10 12:32:40 +02:00
[GPU] psicommputation
This commit is contained in:
parent
bc59cb8b22
commit
4465c5be8d
5 changed files with 153 additions and 19 deletions
|
|
@ -62,7 +62,9 @@ class SSGPLVM(SparseGP):
|
|||
if group_spike:
|
||||
kernel.group_spike_prob = True
|
||||
self.variational_prior.group_spike_prob = True
|
||||
|
||||
|
||||
if isinstance(inference_method, VarDTC_GPU) and self.kern._support_GPU:
|
||||
self.kern.useGPU = True
|
||||
|
||||
SparseGP.__init__(self, X, Y, Z, kernel, likelihood, inference_method, name, **kwargs)
|
||||
self.add_parameter(self.X, index=0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue