Patch Making Does Pytorch have Anything to Offer?

I think pathing is something belongs to data pre processing or data argumentation like random 5 or 10 crop?