from xchainer._core import *  # NOQA

_global_context = Context()
_global_context.get_backend('native')
set_global_default_context(_global_context)

from xchainer._core import *  # NOQA

_global_context = Context()
set_global_default_context(_global_context)
set_default_device('native')

Set the default device to native in Python binding
Set the default device to native in Python binding
