squidszyd commented on issue #8531: How to get the correlation result of two 
feature maps?
URL: 
https://github.com/apache/incubator-mxnet/issues/8531#issuecomment-341863402
 
 
   @zhreshold By correlation, I mean F2 acts like a correlation kernel (or 
convolution kernel) that slides on F1. For example,
   ```
        1 1 1 2 2
   F1 = 2 3 4 1 1
        0 0 0 2 3 
   
        0 1 0
   F2 = 1 0 1
        0 1 0
   ``` 
   Then, the correlation result should be
   ```
   R = F1 * F2 = 7 5 9
   ```
   where 
   ```
   7 = 1 + 2 + 4 + 0
   5 = 1 + 3 + 1 + 0
   9 = 2 + 4 + 1 + 2
   ```
   In the above example, stride = 1, pad = 0, dilate = 0, thus there are three 
correlation position at F1

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to