haimeh commented on issue #6629: Not enough information to get shape URL: https://github.com/apache/incubator-mxnet/issues/6629#issuecomment-321613657 Also, a mistake one might make, so for reference I am adding it here. The shape inference may not always work with a chained composition such as: ``` discouragedSelfMatches <- mx.symbol.broadcast_mul(lhs = mx.symbol.broadcast_equal(lhs = distances, rhs = mx.symbol.min(distances), rhs = mx.symbol.max(distances)) ``` but it will work if the symbols are separated, for instance: ``` selfMatches <- mx.symbol.broadcast_equal(lhs = distances, rhs = mx.symbol.min(distances)) discouragedSelfMatches <- mx.symbol.broadcast_mul(lhs=selfMatches, rhs=mx.symbol.max(distances)) ``` ---------------------------------------------------------------- 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: us...@infra.apache.org
With regards, Apache Git Services