Skip to content

Commit

Permalink
add cpu_pinned in __init__ (apache#11030)
Browse files Browse the repository at this point in the history
This make mx.cpu_pinned can be used.
  • Loading branch information
solin319 authored and piiswrong committed May 23, 2018
1 parent ab08ee8 commit f7e5e91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/mxnet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"""MXNet: a concise, fast and flexible framework for deep learning."""
from __future__ import absolute_import

from .context import Context, current_context, cpu, gpu
from .context import Context, current_context, cpu, gpu, cpu_pinned
from . import engine
from .base import MXNetError
from . import base
Expand Down

0 comments on commit f7e5e91

Please sign in to comment.