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: [email protected]
For additional commands, e-mail: [email protected]