mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-08 03:22:38 +02:00
active_dims as extra parameter for kernels, it tells which input dimensions to work on
This commit is contained in:
parent
328e0124c7
commit
efcce6d0af
12 changed files with 73 additions and 59 deletions
|
|
@ -9,7 +9,9 @@ from kern import CombinationKernel
|
|||
class Add(CombinationKernel):
|
||||
"""
|
||||
Add given list of kernels together.
|
||||
propagates gradients thorugh.
|
||||
propagates gradients through.
|
||||
|
||||
This kernel will take over the active dims of it's subkernels passed in.
|
||||
"""
|
||||
def __init__(self, subkerns, name='add'):
|
||||
super(Add, self).__init__(subkerns, name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue