vm.torch.nn.init¶
Functions¶
calculate_gain(…) : Return the gain value according to nonlinearity function.
constant_(…) : Fill tensor with the scalar value.
dirac_(…) : Fill tensor with the dirac delta function.
eye_(…) : Fill tensor as the identity matrix.
kaiming_normal_(…) : Fill tensor from a kaiming normal distribution.
kaiming_uniform_(…) : Fill tensor from a kaiming uniform distribution.
normal_(…) : Fill tensor from a normal distribution.
ones_(…) : Fill tensor with ones.
uniform_(…) : Fill tensor from an uniform distribution.
xavier_normal_(…) : Fill tensor from a xavier normal distribution.
xavier_uniform_(…) : Fill tensor from a xavier uniform distribution.
zeros_(…) : Fill tensor with zeros.