weight
A weight is a learned scalar or tensor parameter that modulates the contribution of an input or intermediate signal through a linear or affine transformation, determining how strongly it influences the model’s output.
In neural networks, weights connect units within and across layers and are updated during training by gradient-based optimization.
They’re typically initialized from specific distributions and may be regularized with techniques like weight decay. They can be shared across positions as in convolutions or attention projections.
Related Resources
Course
Building a Neural Network & Making Predictions With Python AI
In this step-by-step course, you'll build a neural network from scratch as an introduction to the world of artificial intelligence (AI) in Python. You'll learn how to train your neural network and make accurate predictions based on a given dataset.
For additional information on related topics, take a look at the following resources:
By Leodanis Pozo Ramos • Updated June 29, 2026