class_docstr: Image to Patch Embedding.
class_docstr_tok: ["Image","to","Patch","Embedding","."]
code: def forward(self, x: paddle.Tensor) -> paddle.Tensor:
      x = self.proj(x)
      # B C H W -> B H W C
      x = paddle.transpose(x, [0, 2, 3, 1])
      return x
  
imports: import sys
  import os
  from functools import partial
  from typing import Optional, Tuple, Type
  import paddle
  import paddle.nn
  import paddle.nn.functional
  from .common import LayerNorm2d, MLPBlock
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