Add SE block on pre trained resnext50_32 model

How can we add Squeeze and excitation block after each aggregation on resnext model?