You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/07/24 22:36:53 UTC
[GitHub] nswamy commented on a change in pull request #11844: [MXNET-689]
add DataDesc type for the Scala Package
nswamy commented on a change in pull request #11844: [MXNET-689] add DataDesc type for the Scala Package
URL: https://github.com/apache/incubator-mxnet/pull/11844#discussion_r204933182
##########
File path: scala-package/core/src/main/scala/org/apache/mxnet/io/NDArrayIter.scala
##########
@@ -59,10 +61,12 @@ class NDArrayIter(data: IndexedSeq[(String, NDArray)],
def this(data: IndexedSeq[NDArray], label: IndexedSeq[NDArray] = IndexedSeq.empty,
dataBatchSize: Int = 1, shuffle: Boolean = false,
lastBatchHandle: String = "pad",
- dataName: String = "data", labelName: String = "label") {
+ dataName: String = "data", labelName: String = "label",
+ dType: DType = MX_REAL_TYPE, dataLayout: String = "NCHW",
Review comment:
no need to add this here. add the defaults to the new constructor above in L47
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services