latest (dev)
Copy
Latest development documentation · Updated 2026-10-15
tensorplay.nn.init.eye_
- tensorplay.nn.init.eye_(tensor)[source]
Fill the 2-D
tensorin-place with the identity matrix.As many inputs as possible are preserved through a Linear layer.
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?

