Contents
init_xavier_norm()
Initialize embeddings according to Xavier normal scheme, with fan_in = 0, fan_out=row_size.
embedding_table (Tensor) – Tensor of embedding parameters to initialize.
Tensor
gain (float) – Scaling factor for standard deviation. Default: 1.0.
float
Initialized tensor.