ns for fx: make return type of ns APIs future proof (#52789)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/52789
Changes the return type of NS APIs from
```
{
layer_name: {
model_name: [torch.Tensor(...), ...],
},
}
```
to
```
{
layer_name: {
model_name: {
'type': 'weight', # or node_output, etc
'values': [torch.Tensor(...), ...],
// future info can be added here, such as node name, etc
},
}
```
Test Plan:
```
python test/test_quantization.py TestFXNumericSuiteCoreAPIs
```
Imported from OSS
Reviewed By: hx89
Differential Revision: D26652640
fbshipit-source-id: 4b31164e402754141368d5a04d595f2b643af3bb