Siamese Nets in Pytorch and Fast.ai

This is how little code it takes to implement a siamese net using @fastdotai and @pytorch. I share this because I continue to be amazed.

For more details, visit the source.