TruncNormalInit — mmengine 0.10.7 documentation (original) (raw)

class mmengine.model.TruncNormalInit(mean=0, std=1, a=-2, b=2, **kwargs)[source]

Initialize module parameters with the values drawn from the normal distribution \(\mathcal{N}(\text{mean}, \text{std}^2)\) with values outside \([a, b]\).

Parameters: