tensorplay.nn.init.xavier_uniform_
- tensorplay.nn.init.xavier_uniform_(tensor, gain=1.0, generator=None)[source]
Fill
tensorin-place with U(-a, a) where a = gain * sqrt(6 / (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 U(-a, a) where
a = gain * sqrt(6 / (fan_in + fan_out)).
Live status · packages · docs