torch.eye ========= .. currentmodule:: torch .. autofunction:: eye