latest (dev)
Copy
Latest development documentation · Updated 2026-10-15
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)).
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?

