joddiy commented on issue #597: added tensor index selector
URL: https://github.com/apache/singa/pull/597#issuecomment-588017006
 
 
   > > Hi, @dcslin, for the backward of CNN, I guess I should firstly pad the 
dy as its shape same with the shape before index selection. So, I need a 
function that can add one column and row at the end or start of the matrix. For 
example, for "SAME_UPPER" mode, and output shape of [3,3,32,32], I need to pad 
one column and one row at the end of the dy to make the shape as [3,3,32,32].
   > 
   > hi could it be done in reverse way? add extra padding and make it 
symmetrical, and trim off one column by using the selection[].
   
   sure, and how to add extra padding? can use singa.add_column and add_row?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to