Fix named tensor build (#24940)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/24940
We're missing an include for named tensors in templates/TypeDefault.h.
Test Plan: - run ci [namedtensor ci]
Differential Revision: D16930709
Pulled By: zou3519
fbshipit-source-id: c15d631761a78d5e50fe265a3129239e72042a83