Skip to content

embedder changeOne

GitHub Action edited this page Jul 9, 2026 · 1 revision
void changeOne(size_t tok, size_t dim, float d)

Basic Info

Changes one individual parameter of the model


Parameters

Parameter Type Use Optional
tok size_t Specifies the token ID ❌
dim size_t Specifies the dimension ❌
d float Specifies change to value ❌

Example

// Calling the changeOne() function
embedder e(350086472355530135168463248, 350086472355530135168463248);
e.changeOne(12, 185);

Clone this wiki locally