Implement ravel (#46098)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/46098
Doc:
![image](https://user-images.githubusercontent.com/68879799/95611323-ae5cf380-0a2f-11eb-9b8e-56bf79ce68af.png)
Test Plan: Imported from OSS
Reviewed By: glaringlee
Differential Revision: D24253213
Pulled By: ejguan
fbshipit-source-id: 42a866c902272cbe3743a9d0cb3afb9165d51c0b