It isn’t for the perpetrator, it’s to set the victim free.
And how I would define it is different from most traditions.
I cannot forgive someone from doing harm (unless I have reason to do so, personally), but I can learn to dissolve my attachment – and let “God” be Judge and Jury.
