src/transformers/models/maskformer/modeling_maskformer_swin.py/MaskFormerSwinEmbeddings/forward
class MaskFormerSwinEmbeddings:    def forward(self, pixel_values):
        embeddings, output_dimensions = self.patch_embeddings(pixel_values)
        embeddings = self.norm(embeddings)

        if self.position_embeddings is not None:
            embeddings = embeddings + self.position_embeddings

        embeddings = self.dropout(embeddings)

        return embeddings, output_dimensions