89f41f9280daceb58895f6a958c493f126db03bc,batchflow/models/eager_torch/layers/resize.py,Combine,Combine_2,#,273

Before Change


    }

    OPS = {alias: method for method, aliases in OPS.items() for alias in aliases}
    ALL_OPS = list(OPS.keys())

    def __init__(self, inputs=None, op="concat", force_resize=True):
        from .conv_block import ConvBlock // can"t be imported in the file beginning due to recursive imports
        super().__init__()

After Change


        softsum: ["softsum", "&"],
    }

    OPS = {alias: getattr(method, "__func__") for method, aliases in OPS.items() for alias in aliases}

    def __init__(self, inputs=None, op="concat", force_resize=True, **kwargs):
        super().__init__()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: analysiscenter/batchflow
Commit Name: 89f41f9280daceb58895f6a958c493f126db03bc
Time: 2019-12-05
Author: Tsimfer.SA@gazprom-neft.ru
File Name: batchflow/models/eager_torch/layers/resize.py
Class Name: Combine
Method Name: Combine_2


Project Name: facebookresearch/pytext
Commit Name: e796d4ad0d81f364cadc4287ca2eb7f74df1af61
Time: 2020-02-17
Author: chenyangyu@fb.com
File Name: pytext/task/new_task.py
Class Name: _NewTask
Method Name: _init_tensorizers


Project Name: IndicoDataSolutions/finetune
Commit Name: 2028dffb2a29570c72f10bcb3e35e33fa7fb1c03
Time: 2018-11-13
Author: madison@indico.io
File Name: finetune/base.py
Class Name: BaseModel
Method Name: _inference