-
Notifications
You must be signed in to change notification settings - Fork 0
layer feedForward
GitHub Action edited this page Jul 9, 2026
·
1 revision
utility::matrix feedForward(utility::matrix x)Returns the transformed matrix to be fed into the next layer (or block).
Returns a utility::matrix
| Parameter | Type | Use | Optional |
|---|---|---|---|
x |
utility::matrix |
Input matrix | ❌ |
// Calling the feedForward() function
layer l(128, 512);
utility::matrix x; // Pass an embedded input matrix
x = l.feedForward(x);- AIUsage
- Block
- Embedder
- Introduction
- Layer
- Model
- NeuralNetwork
- PositionalEncoding
- SelfAttention
- Tokenizer
- Utility