[ONNX] Export torch.eye to ONNX::EyeLike (#41357)
Summary:
Export dynamic torch.eye, i.e. commonly from another tensor, shape for torch.eye is not known at export time.
Static torch.eye where n,m are constants is exported as constant tensor directly.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/41357
Reviewed By: VitalyFedyunin
Differential Revision: D22845220
Pulled By: bzinodev
fbshipit-source-id: 6e5c331fa28ca542022ea16f9c88c69995a393b2