https://github.com/GPflow/GPflow
Raw File
Tip revision: bd04738eff4c8fa2c05ec14b69bffe32357d02f4 authored by vdutor on 25 June 2018, 14:04:02 UTC
Fix the global step for summary tasks
Tip revision: bd04738
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