Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

Question about implementation #10

Open
lxtGH opened this issue Jan 2, 2018 · 1 comment
Open

Question about implementation #10

lxtGH opened this issue Jan 2, 2018 · 1 comment

Comments

@lxtGH
Copy link

lxtGH commented Jan 2, 2018

in file deform_conv.py
inds = indices[:, 0]*input.size(1)*input.size(2)+ indices[:, 1]*input.size(2) + indices[:, 2]
what does it mean ?

@oeway
Copy link
Owner

oeway commented Jan 17, 2018

That's a way to match the indexes for th_flatten(input), for a better understanding, I would suggest to clone the code, and change it by adding print statement to check each variables, and understand it step by step. Good luck.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants