class_docstr: Image to Patch Embedding
      
class_docstr_tok: ["Image","to","Patch","Embedding"]
code: def forward(self, x):
      B, _, H, W = x.shape
      x = self.proj(x)
      B, _, H, W = x.shape
      x = x.flatten(2).transpose(1, 2)
      x = self.norm(x)
      x = x.reshape(B, H, W, -1).permute(0, 3, 1, 2).contiguous()
      return x
  
imports: from collections import OrderedDict
  import math
  from functools import partial
  import torch
  import torch.nn
  import torch.nn.functional
  import torch.utils.checkpoint
  import numpy
  from timm.models.layers import DropPath, to_2tuple, trunc_normal_
  from annotator.uniformer.mmcv_custom import load_checkpoint
  from annotator.uniformer.mmseg.utils import get_root_logger
  from ..builder import BACKBONES
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