[pytorch] add test for empty tensor support in nn.Linear (#36983)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/36983
fix https://github.com/pytorch/pytorch/issues/34202
it seems to be fixed now but without a test
Test Plan: sandcastle
Differential Revision: D21149623
fbshipit-source-id: 109f8e75a0826541ec7beb1920d5a38e0e826899