Well there techincally isn't a function called a "sharpening gradient". In Gimp/Photoshop you would duplicate the working layer, perform sharpening, apply a layer mask, and then apply a gradient. That would make the sharpening full strength in one area of the photo and fade out toward another end.