The forward of roi pooling is quite straightforward, but I was confused that how to deal with race condition between CPU threads when doing backward since many threads may add gradients to the same position of the gradient output buffer? Thanks for your time.
The forward of roi pooling is quite straightforward, but I was confused that how to deal with race condition between CPU threads when doing backward since many threads may add gradients to the same position of the gradient output buffer? Thanks for your time.