---
description: Get in-depth insights about Ultralytics Tiny Encoder Modules such as Conv2d_BN, MBConv, ConvLayer, Attention, BasicLayer, and TinyViT. Improve your understanding of machine learning model components.
keywords: Ultralytics, Tiny Encoder, Conv2d_BN, MBConv, ConvLayer, Attention, BasicLayer, TinyViT, Machine learning modules, Ultralytics models
---
## Conv2d_BN
---
### ::: ultralytics.models.sam.modules.tiny_encoder.Conv2d_BN
## PatchEmbed
---
### ::: ultralytics.models.sam.modules.tiny_encoder.PatchEmbed
## MBConv
---
### ::: ultralytics.models.sam.modules.tiny_encoder.MBConv
## PatchMerging
---
### ::: ultralytics.models.sam.modules.tiny_encoder.PatchMerging
## ConvLayer
---
### ::: ultralytics.models.sam.modules.tiny_encoder.ConvLayer
## Mlp
---
### ::: ultralytics.models.sam.modules.tiny_encoder.Mlp
## Attention
---
### ::: ultralytics.models.sam.modules.tiny_encoder.Attention
## TinyViTBlock
---
### ::: ultralytics.models.sam.modules.tiny_encoder.TinyViTBlock
## BasicLayer
---
### ::: ultralytics.models.sam.modules.tiny_encoder.BasicLayer
## LayerNorm2d
---
### ::: ultralytics.models.sam.modules.tiny_encoder.LayerNorm2d
## TinyViT
---
### ::: ultralytics.models.sam.modules.tiny_encoder.TinyViT