class_docstr: Construct Patch Embeddings.
class_docstr_tok: ["Construct","Patch","Embeddings","."]
code: def forward(self, pixel_values):
      embeddings = self.projection(pixel_values)
      embeddings = self.norm(embeddings)
      return embeddings
  
imports: import collections.abc
  from typing import Optional, Tuple, Union
  import torch
  import torch.utils.checkpoint
  from torch import nn
  from torch.nn import BCEWithLogitsLoss, CrossEntropyLoss, MSELoss
  from ...activations import ACT2FN
  from ...modeling_outputs import BaseModelOutputWithNoAttention, ImageClassifierOutputWithNoAttention
  from ...modeling_utils import PreTrainedModel
  from ...utils import add_code_sample_docstrings, add_start_docstrings, add_start_docstrings_to_model_forward, logging
  from .configuration_poolformer import PoolFormerConfig
label_desc: Use image node_id 2 for calling the PoolFormerEmbeddings obj's underlying member method code with example usage: obj.forward(pixel_values) and returns: embeddings