mxnet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Qing Lan <lanking...@live.com>
Subject Data Type improvement in MXNet Scala
Date Wed, 18 Jul 2018 22:43:18 GMT
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