ClassPatchEmbed 2D image to patch embedding: (B,C,H,W) -> (B,N,D) Args: img_size: Image size. patch_size: Patch token size. in_chans
torchhub/facebookresearch_dinov2_main/dinov2/layers/patch_embed.py:26
ClassPatchEmbed 2D image to patch embedding: (B,C,H,W) -> (B,N,D) Args: img_size: Image size. patch_size: Patch token size. in_chans
depth_anything/dinov2_layers/patch_embed.py:26