Is there no minpool?


(Make Dirty Code) #1

I am seeing someone else’s paper and implementing it. He used min_pool for his paper. But pytorch does not seem to have min_pool.

So I did this.
x = -max_pool (-x)

Does it matter if I use it this way?


(Simon Wang) #2

Your code should just work fine.