I see, thanks for the clarification, I think what you need is pytorch/native_functions.yaml at master · pytorch/pytorch · GitHub 2 and pytorch/native_functions.yaml at master · pytorch/pytorch · GitHub 2 which re-assembles quantized Tensor from int_repr, please let me know if it works, thanks