[magnification] static corrections

This commit is contained in:
Max Zwiessele 2015-09-03 10:23:09 +01:00
parent f6d07ff76a
commit 7376627895

View file

@ -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)