mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-11 15:15:15 +02:00
[magnification] static corrections
This commit is contained in:
parent
f6d07ff76a
commit
7376627895
1 changed files with 2 additions and 0 deletions
|
|
@ -25,6 +25,8 @@ class Static(Kern):
|
|||
return np.zeros(X.shape)
|
||||
|
||||
def gradients_XX(self, dL_dK, X, X2):
|
||||
if X2 is None:
|
||||
X2 = X
|
||||
return np.zeros((X.shape[0], X2.shape[0], X.shape[1]), dtype=np.float64)
|
||||
def gradients_XX_diag(self, dL_dKdiag, X):
|
||||
return np.zeros(X.shape)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue