Sync up DispatchKey in model with C++ (#81770)
I also dropped some keys that are not useful for codegen.
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/81770
Approved by: https://github.com/bdhirsh