mxnet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Naveen Swamy <mnnav...@gmail.com>
Subject Re: Data Type improvement in MXNet Scala
Date Thu, 19 Jul 2018 03:09:06 GMT
Thanks for looking into this Qing :)

this would alleviate the problems we have in getting RNNs to work in Scala.
Can we call name the new APIs `provideDataDesc` and `provideLabelDesc` ?

Thanks, Naveen

On Wed, Jul 18, 2018 at 3:43 PM, Qing Lan <lanking520@live.com> wrote:

> Hi all,
>
> I would like to propose a change on the MXNet Scala data_type:
>
> Depreciate the `provideData` and `provideLabel` functions to provide
> `DataDesc` type instead of `ListMap[String, Shape]` type.
>
> There were several issues regarding to this since v0.12 on Scala. Several
> users reported that the `implicit def ListMap2Descs` helps to do some
> downcasting job however missing information during this process (layout
> property).
> MXNet Python language has already change this part into `DataDesc`. In
> that case, I plan to add two more methods that will take `DataDesc` and
> depreciate the functions that mentioned above. The downcasting method
> `ListMap2Descs` will also be depreciated and not to be used in current
> MXNet Scala code base.
>
> Thanks,
> Qing
>
> References:
> Code position:
> https://github.com/apache/incubator-mxnet/blob/master/
> scala-package/core/src/main/scala/org/apache/mxnet/IO.scala#L312-L315
> https://github.com/apache/incubator-mxnet/blob/master/
> scala-package/core/src/main/scala/org/apache/mxnet/IO.scala#L358-L363
>
> Issue links:
> https://github.com/apache/incubator-mxnet/issues/11775
> https://github.com/apache/incubator-mxnet/issues/10753
> https://github.com/apache/incubator-mxnet/issues/11571
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message