pytorch
02c0c7a3 - Add Meta support for empty_strided (#53397)

Commit
3 years ago
Add Meta support for empty_strided (#53397) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/53397 It turns out once you remove all the indirection from the empty_cpu_strided implementation, this implementation is pretty simple. We should see if we can simplify empty_cpu this way too. Signed-off-by: Edward Z. Yang <ezyang@fb.com> Test Plan: Imported from OSS Reviewed By: bdhirsh Differential Revision: D26891870 Pulled By: ezyang fbshipit-source-id: 9bddd332d32d8bf32fa3175e3bb0ac3a8954ac91
Author
Parents
Loading