You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/01/06 14:16:12 UTC

[GitHub] rayjs opened a new issue #9328: Row wise normalization of tensor

rayjs opened a new issue #9328: Row wise normalization of tensor
URL: https://github.com/apache/incubator-mxnet/issues/9328
 
 
   Hi,
   I am new to mshadow. I am seeking some help regarding a tensor operation. I see there are examples to implement elementwise tensor operations as below:
   https://github.com/dmlc/mshadow/tree/3d87ed2a4b47ef749c616f208cee45d920fb6e6e/guide#user-defined-operator
   
   But I am looking for slightly different that is, row wise normalization of a tensor
   A= [row1; row2;... rowN]; Anormalized = [row1/norm(row1); ....; rowN/norm(rowN)];
   norm refers to the 2-norm.
   This can be also thought of as reduction and then broadcast along the rows of the tensor.
   I want to have an function like Tensor out = dot(A,B);
   Is there any implementation or any pointer would be helpful?

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