class_docstr: 2D Image to Patch Embedding.
code: def forward(self, x):
      x = self.proj(x)
      _, _, H, W = x.shape
      if self.flatten:
          x = x.flatten(2).transpose([0, 2, 1])  # BCHW -> BNC
      x = self.norm(x)
      return x, H, W
  
imports: import math
  from functools import partial
  import numpy
  import paddle
  import paddle.nn
  import paddle.nn.functional
  from paddleseg.cvlibs import manager
  from paddleseg.utils import utils, logger
  from paddleseg.cvlibs.param_init import normal_init, trunc_normal_init, constant_init
  from paddleseg.models.backbones.transformer_utils import to_2tuple, DropPath
  from paddleseg.models.layers.vit_adapter_layers import SpatialPriorModule, InteractionBlock, deform_inputs
  from paddleseg.models.layers.ms_deformable_attention import MSDeformAttn
label_desc: Use image node_id 2 for calling the PatchEmbed obj's underlying member method code with example usage: obj.forward(x) and returns: x,  H,  W