Revision ba5e53afb53a0d286b48c9254e86e3f55e3d8c52 authored by Artem Artemev on 17 June 2019, 16:33:49 UTC, committed by Artem Artemev on 17 June 2019, 16:33:49 UTC
2 parent s 6ab11a5 + c3a46bd
Raw File
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