8182ea386e6529a1a2294d8e2d33fc040d0cbfb2,deepctr/inputs.py,,get_linear_logit,#Any#Any#Any#Any#Any#Any#Any#,153

Before Change


        linear_term = None

    if len(dense_input_list) > 0:
        dense_input__ = dense_input_list[0] if len(
            dense_input_list) == 1 else Concatenate()(dense_input_list)
        linear_dense_logit = Dense(
            units, activation=None, use_bias=False, kernel_regularizer=l2(l2_reg))(dense_input__)
        if linear_term is not None:
            linear_term = add([linear_dense_logit, linear_term])

After Change


    for i in range(units):

        if len(linear_emb_list[0])>0 and len(dense_input_list) >0:
            sparse_input = concat_fun(linear_emb_list[i])
            dense_input = concat_fun(dense_input_list)
            linear_logit = Linear(l2_reg,mode=2)([sparse_input,dense_input])
        elif len(linear_emb_list[0])>0:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: shenweichen/DeepCTR
Commit Name: 8182ea386e6529a1a2294d8e2d33fc040d0cbfb2
Time: 2019-07-21
Author: wcshen1994@163.com
File Name: deepctr/inputs.py
Class Name:
Method Name: get_linear_logit


Project Name: fizyr/keras-retinanet
Commit Name: 59f713480fdd443bcec294459ffe8149ba49d140
Time: 2017-11-20
Author: j.c.gaiser@delftrobotics.com
File Name: keras_retinanet/models/retinanet.py
Class Name:
Method Name: retinanet_bbox


Project Name: fizyr/keras-retinanet
Commit Name: 2b617dcb3196d90f40e846120aaa0523446ecc24
Time: 2017-08-24
Author: j.c.gaiser@delftrobotics.com
File Name: keras_retinanet/models/resnet.py
Class Name:
Method Name: RetinaNet