---
description: Learn about the Conv2d_BN, MBConv, ConvLayer, Attention, BasicLayer, and TinyViT modules.
keywords: Conv2d_BN, MBConv, ConvLayer, Attention, BasicLayer, TinyViT
---
## Conv2d_BN
---
### ::: ultralytics.vit.sam.modules.tiny_encoder.Conv2d_BN
## PatchEmbed
---
### ::: ultralytics.vit.sam.modules.tiny_encoder.PatchEmbed
## MBConv
---
### ::: ultralytics.vit.sam.modules.tiny_encoder.MBConv
## PatchMerging
---
### ::: ultralytics.vit.sam.modules.tiny_encoder.PatchMerging
## ConvLayer
---
### ::: ultralytics.vit.sam.modules.tiny_encoder.ConvLayer
## Mlp
---
### ::: ultralytics.vit.sam.modules.tiny_encoder.Mlp
## Attention
---
### ::: ultralytics.vit.sam.modules.tiny_encoder.Attention
## TinyViTBlock
---
### ::: ultralytics.vit.sam.modules.tiny_encoder.TinyViTBlock
## BasicLayer
---
### ::: ultralytics.vit.sam.modules.tiny_encoder.BasicLayer
## LayerNorm2d
---
### ::: ultralytics.vit.sam.modules.tiny_encoder.LayerNorm2d
## TinyViT
---
### ::: ultralytics.vit.sam.modules.tiny_encoder.TinyViT