There are few different approaches and are briefly described here.
Transfer Learning
It is fairly simple algorithm and easy to implement. Unlike the typical case of transfer learning, there is a subtle difference in how we handle train and validation as this involves training and validation through tasks , not just with some batch of images and labels.
In this approach, we will learn a metric that differentiate between the classes in the support set. It is quite popular and it is the first kind of approach towards solving this problem.