mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-08 15:05:15 +02:00
fix: typo
This commit is contained in:
parent
4de3fdda20
commit
f79144bf47
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ class VariationalPosterior(Parameterized):
|
|||
self.link_parameters(self.mean, self.variance)
|
||||
self.num_data, self.input_dim = self.mean.shape
|
||||
if self.has_uncertain_inputs():
|
||||
assert self.variance.shape == self.mean.shape, "need one variance per sample and dimenion"
|
||||
assert self.variance.shape == self.mean.shape, "need one variance per sample and dimension"
|
||||
|
||||
def set_gradients(self, grad):
|
||||
self.mean.gradient, self.variance.gradient = grad
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue