Spatial Transformer Network

Friends, can I add the Spatial Transformer Network to Resnet18?

Or maybe you know in which CNN it is implemented?