mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-04 01:02:39 +02:00
Small name change
This commit is contained in:
parent
0e5acd1d2b
commit
e744857e0a
3 changed files with 381 additions and 337 deletions
|
|
@ -20,7 +20,7 @@ class Constant(Mapping):
|
|||
|
||||
"""
|
||||
|
||||
def __init__(self, input_dim, output_dim, value=0., name='linmap'):
|
||||
def __init__(self, input_dim, output_dim, value=0., name='constmap'):
|
||||
Mapping.__init__(self, input_dim=input_dim, output_dim=output_dim, name=name)
|
||||
value = np.atleast_1d(value)
|
||||
if not len(value.shape) ==1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue