SMSR icon indicating copy to clipboard operation
SMSR copied to clipboard

about generate_indices in code

Open Gideon1998 opened this issue 3 years ago • 1 comments

Hi, I'm interested in this work. But I don’t know what is the use of generate_indices for spa_mask.

Gideon1998 avatar Oct 12 '21 09:10 Gideon1998

Hi @Gideon1998, generate_indices() aims to produce the coordinates of "important" pixels marked by the spatial mask. With these coordinates, we can perform sparse convolution to compute the output at only these sparse locations.

LongguangWang avatar Oct 19 '21 05:10 LongguangWang