Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Static Runtime] Use native version of at::empty (pytorch#53216)
Summary: Pull Request resolved: pytorch#53216 - at::native::empty_cpu calls at::detail::empty_cpu without any changes to the arguments. So we could call at::detail::empty_cpu directly. - There is no need to create a TensorOptions object first since we can get all the relevant information from the tensor directly. Reviewed By: bertmaher, swolchok Differential Revision: D26792255 fbshipit-source-id: 7a4e368a19cea79e136e34dab854cb1d37dbeb58
- Loading branch information