mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-30 14:35:15 +02:00
use gpu
This commit is contained in:
parent
fbc6bd0ec8
commit
6c0d3a8a16
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ class RBF(Stationary):
|
||||||
else:
|
else:
|
||||||
self.psicomp = PSICOMP_RBF()
|
self.psicomp = PSICOMP_RBF()
|
||||||
|
|
||||||
def useGPU(self,flag=True):
|
def GPU(self,flag=True):
|
||||||
if flag:
|
if flag:
|
||||||
if isinstance(self.psicomp,PSICOMP_RBF):
|
if isinstance(self.psicomp,PSICOMP_RBF):
|
||||||
self.useGPU = True
|
self.useGPU = True
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue