How to crop a patch on a feature map?

Anybody knows how to crop a patch on the specified location of a feature map using bilinear or nearest?

Are you using symbol API or Gluon?