tensorplay.nn.init.xavier_normal_
- tensorplay.nn.init.xavier_normal_(tensor, gain=1.0, generator=None)[source]
Fill
tensorin-place with N(0, std^2) where std = gain * sqrt(2 / (fan_in + fan_out)).
Latest development documentation · Updated 2026-09-08. A documentation snapshot for package 1.0.0.dev20260909 is not available.
Fill tensor in-place with N(0, std^2) where
std = gain * sqrt(2 / (fan_in + fan_out)).
Live status · packages · docs