wkcn edited a comment on issue #18695:
URL: 
https://github.com/apache/incubator-mxnet/issues/18695#issuecomment-657934929


   Hi @szha , I create a 
[`TransposeKernel`](https://github.com/wkcn/incubator-mxnet/blob/support_transpose_dim_gt_6/src/operator/tensor/matrix_op-inl.h#L324)
 and need to copy the argument (namely `axes`) into the target context. Is 
there any good way to copy it?
   
   I try to call 
[`get_space_typed`](https://github.com/wkcn/incubator-mxnet/blob/support_transpose_dim_gt_6/src/operator/tensor/matrix_op-inl.h#L429)
 to alloc a workspace, but it need to declare a temporary space in each 
operator which calls `TransposeImpl`.
   
   ## Solution
   I will create a new function `TransposeExImpl` to support up to 6 
dimensions, which needs to alloc extra workspace.


----------------------------------------------------------------
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


Reply via email to