(3), local matching was conducted between the query instance and each support instance separately to get their vector representations {( s k , q k ); k = 1, ..., K} (model 7).
the final class prototype for each support set is obtained by attentive aggregation over the representations of its support instances, where the weights are calculated using the query instance.