Skip to content

embedder init

GitHub Action edited this page Jul 9, 2026 · 1 revision
void init(float stddev = 0.02)

Basic Info

Initializes the embedding table (called in a constructor normally).

Return Type

Returns void

Parameters

Parameter Type Use Optional
stddev float Standard Deviation

Example

// Calling the init() function
embedder e(42, 42);
e.init(0.069);

Clone this wiki locally