dvlab-research/PFENet

Weighted_GAP

zhijiejia opened this issue · 2 comments

This function returns a number? Shouldn't be a tentor?

image

@zhijiejia

Thanks for your attention.

This function returns a c-dimensional tensor whose spatial size is 1x1 (a globally pooled tensor).

You can check it by printing out the shape of the returned tensor.

Thanks, I get it.