szha commented on issue #12783: Name conflict when serializing LSTMCell URL: https://github.com/apache/incubator-mxnet/issues/12783#issuecomment-429092412 For the problem with LSTM alone, the problem is in not naming some of the elementwise operations. In LSTM there are three names that are repeating: ``` "name": "myblock0_lstm0__plus0", "name": "myblock0_lstm0__mul0", "name": "myblock0_lstm0__mul1", ``` They come from the [plus0 here](https://github.com/apache/incubator-mxnet/blob/master/python/mxnet/gluon/rnn/rnn_cell.py#L514), and the [mul0 and mul1 here](https://github.com/apache/incubator-mxnet/blob/master/python/mxnet/gluon/rnn/rnn_cell.py#L524) The fix should be to replace these operations with F.elemwise_X, with the proper prefix just like other operators.
---------------------------------------------------------------- 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
