dbr quant: start recording ops which are not quantizeable (#70200)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/70200
Adds the logic to record not just the subgraphs which are quantizeable,
but also the set of ops (not subgraph) which are quantizeable. This changes
the information recorded during tracing as follows (an example):
```
// before
1. subgraph of conv1 -> conv2
2. no other information about other ops
// after
1. subgraph of conv1 -> conv2
2. set of types of ops which were not quantizeable but were encountered during tracing
```
This has two uses:
1. easier development of DBR quant to cover more ops, as now the ops which are not being quantized are easier to inspect
2. easier understanding for the user of what DBR quant is doing or not doing for a model
Test Plan:
```
python test/test_quantization.py TestQuantizeDBR.test_unsupported_ops_recorded
```
Reviewed By: VitalyFedyunin
Differential Revision: D33240997
Pulled By: vkuzo
fbshipit-source-id: 3168eae286387e6cb01df3ae60dc13620fb784d5