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

