ThomasDelteil commented on issue #14340: [bug] Bug in Gradient flow with backward(retain_graph=True) and split() URL: https://github.com/apache/incubator-mxnet/issues/14340#issuecomment-469934034 replacing ``` z1, z2 = F.split(y, 2) out1 = self.classifier(z1) out2 = self.classifier(z2) ``` with ``` out1 = self.classifier(y[:,:5]) out2 = self.classifier(y[:,5:]) ``` works as expected, I'm thinking the bug might come from the split operator. @eric-haibin-lin
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to 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