mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-23 15:48:09 +02:00
[parameterization] Parameter adding more robust and better error handling
This commit is contained in:
parent
051a8115a2
commit
5f863e8ca2
3 changed files with 19 additions and 5 deletions
|
|
@ -111,7 +111,7 @@ class VariationalPosterior(Parameterized):
|
|||
n.input_dim = n.mean.shape[1] if n.ndim != 1 else 1
|
||||
return n
|
||||
else:
|
||||
return super(VariationalPrior, self).__getitem__(s)
|
||||
return super(VariationalPosterior, self).__getitem__(s)
|
||||
|
||||
class NormalPosterior(VariationalPosterior):
|
||||
'''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue