7d28f1c81d51e069c36c05ab2172e0d7aef7e1e3,torch/quantization/utils.py,,get_combined_dict,#Any#Any#,7

Before Change



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 \
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: pytorch/pytorch
Commit Name: 7d28f1c81d51e069c36c05ab2172e0d7aef7e1e3
Time: 2021-01-12
Author: cc.rafaz@zafar.cc
File Name: torch/quantization/utils.py
Class Name:
Method Name: get_combined_dict


Project Name: nilearn/nilearn
Commit Name: c5fde838c8ef4ae7b37352057c1f8cbd55e4b30d
Time: 2015-03-17
Author: najera.oscar@gmail.com
File Name: doc/sphinxext/sphinxgallery/gen_gallery.py
Class Name:
Method Name: generate_gallery_rst


Project Name: pantsbuild/pants
Commit Name: a921f4dde2d7f62341a63dc6eed50cf29e32c0d8
Time: 2019-10-12
Author: ericarellano@me.com
File Name: src/python/pants/java/jar/jar_dependency.py
Class Name: JarDependency
Method Name: copy