I wonder if it is possible to implement stochastic pooling as in this paper 35, “Stochastic Pooling for Regularization of Deep Convolutional Neural Networks” or “fractional average pool” as in Tensorflow 13?
If possible, what is the most efficient way? Do I need to add custom C module?
(It is nice if it’s possible with only python modules and not too slow…)