You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by jx...@apache.org on 2018/05/23 18:38:19 UTC

[incubator-mxnet] branch master updated: add cpu_pinned in __init__ (#11030)

This is an automated email from the ASF dual-hosted git repository.

jxie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new f7e5e91  add cpu_pinned in __init__ (#11030)
f7e5e91 is described below

commit f7e5e91d58aa878d74304afa72b115358286b6dc
Author: solin319 <li...@126.com>
AuthorDate: Thu May 24 02:38:14 2018 +0800

    add cpu_pinned in __init__ (#11030)
    
    This make mx.cpu_pinned can be used.
---
 python/mxnet/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/mxnet/__init__.py b/python/mxnet/__init__.py
index 58b8bd8..e960829 100644
--- a/python/mxnet/__init__.py
+++ b/python/mxnet/__init__.py
@@ -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

-- 
To stop receiving notification emails like this one, please contact
jxie@apache.org.