nswamy commented on a change in pull request #11045: [MXNET-471] Add Builder
class for Scala Module and DataBatch to simplify construction
URL: https://github.com/apache/incubator-mxnet/pull/11045#discussion_r190488502
##########
File path: scala-package/core/src/main/scala/org/apache/mxnet/Symbol.scala
##########
@@ -101,7 +101,6 @@ class Symbol private(private[mxnet] val handle:
SymbolHandle) extends WarnIfNotD
var index: Int = -1
for ((output, i) <- listOutputs().view.zipWithIndex) {
if (output == name) {
- require(index == -1, s"There are multiple outputs with name $name")
Review comment:
I am not sure I understand why you need to remove this? I thought this one
of the limitations that each node should have unique name
----------------------------------------------------------------
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