-
Notifications
You must be signed in to change notification settings - Fork 0
block changeOne
GitHub Action edited this page Jul 9, 2026
·
1 revision
void changeOne(char mat, size_t row, size_t col, float d)| Parameter | Type | Use | Optional |
|---|---|---|---|
mat |
char |
Specifies attention matrix | ❌ |
row |
size_t |
Specifies row in matrix | ❌ |
col |
size_t |
Specifies column in matrix | ❌ |
d |
float |
Specifies change to value | ❌ |
void changeOne(size_t layer, float d, size_t n_in, size_t n_out)| Parameter | Type | Use | Optional |
|---|---|---|---|
layer |
size_t |
Specifies layer | ❌ |
n_in |
size_t |
Specifies start connection of weight | ❌ |
n_out |
size_t |
Specifies end connection of weight | ❌ |
d |
float |
Specifies change to value | ❌ |
void changeOne(size_t layer, float d, size_t n_in)| Parameter | Type | Use | Optional |
|---|---|---|---|
layer |
size_t |
Specifies layer | ❌ |
n_in |
size_t |
Specifies bias neuron | ❌ |
d |
float |
Specifies change to value | ❌ |
Changes one individual parameter of the model
// Calling the changeOne() function
block b({128, 512, 128}, 128);
b.changeOne("q", 12, 103, 0.01465);- AIUsage
- Block
- Embedder
- Introduction
- Layer
- Model
- NeuralNetwork
- PositionalEncoding
- SelfAttention
- Tokenizer
- Utility