mxnet-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Iblis Lin (Jira)" <j...@apache.org>
Subject [jira] [Created] (MXNET-1429) Add a `Context` constructor accepting `Symbol`
Date Sun, 22 Sep 2019 10:24:00 GMT
Iblis Lin created MXNET-1429:
--------------------------------

             Summary: Add a `Context` constructor accepting `Symbol`
                 Key: MXNET-1429
                 URL: https://issues.apache.org/jira/browse/MXNET-1429
             Project: Apache MXNet
          Issue Type: Story
          Components: Apache MXNet Julia API
            Reporter: Iblis Lin
            Assignee: Iblis Lin


Current constructor
{code}
Context(dev_type, dev_id)
{code}

where {{dev_type}} is a {{mx.CONTEXT_TYPE} enum.

I want to add a constructor 
{code}
Context(dev_type::Symbol, dev_id)
{code}

where `dev_type` is just a string const: `:cpu`, `:gpu` or `:cpu_pinned`.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


Mime
View raw message