one fable-low hijack cell
pair gradient / weights
envelope zh_huo
ordering AB
effort low
Chinese '或' (huò, or) framing — '{X}或{Y}?'
verdictpicked weights (second-offered)
· classifierB
· tiernone
response (200 chars)
# Weights 与 Gradient 的区别
这是深度学习中两个核心概念,它们密切相关但作用不同。
## Weights(权重)
**定义**:模型的可学习参数,决定了输入如何被转换为输出。
```python
y = W·x + b # W 是权重,b 是偏置
```
- 是模型"知识"的载体
- 训练的目标就是找到最优的权重
- 训练结束后,保存模型 = 保存权重
## G
neighbors