# Initialization

Embedding weight initialization routines.

## Functions

 xavier_uniform_(tensor[, gain]) Initialize weights of the tensor similarly to Glorot/Xavier initialization. xavier_normal_(tensor[, gain]) Initialize weights of the tensor similarly to Glorot/Xavier initialization. Generate random phases between 0 and $$2\pi$$.

## Classes

 PretrainedInitializer(tensor) Initialize tensor with pretrained weights. LabelBasedInitializer(labels[, encoder, ...]) An initializer using pretrained models from the transformers library to encode labels. WeisfeilerLehmanInitializer(*[, ...]) An initializer based on an encoding of categorical colors from the Weisfeiler-Lehman algorithm. Initialize nodes via random-walk positional encoding.