Add ZT fastpath for torch.{dot, vdot} (#71129)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/71129
cc ezyang albanD zou3519 gqchen pearu nikitaved soulitzer Lezcano Varal7
Test Plan: Imported from OSS
Reviewed By: jbschlosser
Differential Revision: D34012577
Pulled By: anjali411
fbshipit-source-id: 02d2f2d761f7c9332e2f3cc529e8f1c6b60d7da2
(cherry picked from commit 87318a2e0d7720737720de0e1e31f364f2861bab)