Include the correct header for make_unique in named tensor headers (#25178)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/25178
Previously, we were using torch/csrc/utils/memory.h. This switches those
headers to be c10/util/C++17.h.
Context: ATen and torch are the same library now, so one can call code
in torch from ATen. However, I haven't seen an example of that yet
(aside from the named tensor code that uses make_unique from torch). In
this PR I try to maintain the ATen / torch separation just in case it
matters.
Test Plan
- Check that code compiles [namedtensor ci]
Test Plan: Imported from OSS
Differential Revision: D17051453
Pulled By: zou3519
fbshipit-source-id: 44b6393a748bdb1e671ecb1e9a615c33202e8515