You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by gi...@git.apache.org on 2017/09/27 00:25:28 UTC

[GitHub] dmadeka commented on issue #8048: Bug in backprop for the transpose of a transpose

dmadeka commented on issue #8048: Bug in backprop for the transpose of a transpose
URL: https://github.com/apache/incubator-mxnet/issues/8048#issuecomment-332373231
 
 
   Current hack:
   
   ``` python
   
   def ttake( x, i ):
       """ Take from axis 1 instead of 0.
       """
       a = mx.sym.swapaxes(x, 0, 1)
       return mx.sym.flatten( mx.sym.transpose( mx.sym.take( a , i ) ) )
   ```
 
----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services