lanking520 commented on issue #11126: [MXNET-386] ongoing maintenance on NDArray URL: https://github.com/apache/incubator-mxnet/pull/11126#issuecomment-395334562 I have also placed the changes for Symbol api since I faced the Concat problem: ```Scala concat = Symbol.Concat()(polledOutputs: _*)(Map("dim" -> 1)) ``` The old API would translate the `Array[Symbol]` into a `Seq[Symbol]` and pass in an array. However, in new API we place all of them in the map. This has to be changed to avoid errors. But I faced a problem when I try to implement this piece of code: ``` [WARNING] <macro>:3: warning: Class org.apache.mxnet.NDArrayAPI$$anonfun$Concat$1 differs only in case from org.apache.mxnet.NDArrayAPI$$anonfun$concat$1. Such classes will overwrite one another on case-insensitive filesystems. [INFO] data.foreach(args.append(_)) ``` It trigger the issue explained in here: https://issues.scala-lang.org/browse/SI-2909 This warning would break both `concat` and `Concat`. but if I try to remove `data.foreach(args.append(_))` this line this issue just simply gone. I am not sure the cause for that and why a single line of change would this make such a difference. @yzhliu @nswamy
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
