https://github.com/GPflow/GPflow
Raw File
Tip revision: 5c6924058fe8b5fe2cca25aaa8427d12951c89b4 authored by hrs13 on 29 January 2019, 16:10:40 UTC
changed behaviour of multisample kernels. Now cov(SND,SMD) assumes that the samples are paired over S and returns SNM (rather than SNSM), and cov(ND,SMD) is SNM (rather than NSM)
Tip revision: 5c69240
dispatch.py
from multipledispatch import dispatch, Dispatcher
from functools import partial

# By default multipledispatch uses a global namespace in multipledispatch.core.global_namespace
# We define our own GPflow namespace to avoid any conflict which may arise
gpflow_md_namespace = dict()
dispatch = partial(dispatch, namespace=gpflow_md_namespace)

conditional = Dispatcher('conditional')
sample_conditional = Dispatcher('sample_conditional')
back to top