def get_combined_dict(default_dict, additional_dict):
d = default_dict.copy()
for k, v in additional_dict.items():
d[k] = v
return d
def is_per_tensor(qscheme):
return qscheme == torch.per_tensor_affine or \
After Change
def get_combined_dict(default_dict, additional_dict):
d = default_dict.copy()
d.update(additional_dict)
return d
def is_per_tensor(qscheme):
return qscheme == torch.per_tensor_affine or \