eye_ ==== Auto-generated from mlx_code_defs .. raw:: html

PyTorch

API: torch.nn.init.eye_
Strategy: Direct Mapping

Apple MLX

API: mlx.core.eye
Strategy: Direct Mapping