You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by "Iblis Lin (Jira)" <ji...@apache.org> on 2019/09/22 10:24:00 UTC
[jira] [Created] (MXNET-1429) Add a `Context` constructor accepting
`Symbol`
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