ML Model Parameter Counter
Add layers (Dense, Conv2D, Embedding, Attention) and instantly see total trainable parameter counts with per-layer breakdowns.
Add a Layer
Model Architecture
No layers yet — add one on the left.
Summary
Add layers (Dense, Conv2D, Embedding, Attention) and instantly see total trainable parameter counts with per-layer breakdowns.
How it works
- Select a layer type from the dropdown (Dense, Conv2D, Embedding, or Attention).
- Fill in the layer dimensions — input size, output size, kernel size, etc.
- Click "Add Layer" to append it to your architecture.
- Repeat for each layer in your model.
- Read the total parameter count and per-layer breakdown at the bottom.
- Click the trash icon to remove any layer, or "Clear All" to reset.
Use cases
- Estimate model memory footprint before training.
- Compare architectures with different hidden sizes.
- Understand how Conv2D kernel dimensions affect parameter count.
- Plan quantization budgets by knowing exact parameter counts.
- Teach students how layer shapes drive model size.
- Validate PyTorch/Keras model.summary() outputs manually.
Frequently Asked Questions
Last updated: 2026-06-11 ·
Reviewed by Nham Vu