c641875e76618b8158a422ca54d184ccf044ec93,deepctr/models/dcn.py,,DCN,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,18

Before Change


    embed_list = [sparse_embedding[i](sparse_input[i])
                  for i in range(len(sparse_input))]

    deep_input = Flatten()(Concatenate()(embed_list))
    if len(dense_input) > 0:
        if len(dense_input) == 1:
            continuous_list = dense_input[0]

After Change


    embed_list = [sparse_embedding[i](sparse_input[i])
                  for i in range(len(sparse_input))]

    deep_input = Flatten()(Concatenate()(embed_list)
                           if len(embed_list) > 1 else embed_list[0])
    if len(dense_input) > 0:
        if len(dense_input) == 1:
            continuous_list = dense_input[0]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: shenweichen/DeepCTR
Commit Name: c641875e76618b8158a422ca54d184ccf044ec93
Time: 2018-12-18
Author: wcshen1994@163.com
File Name: deepctr/models/dcn.py
Class Name:
Method Name: DCN


Project Name: shenweichen/DeepCTR
Commit Name: aad52c409e43153b694316cb7980c7ed71bf5b11
Time: 2018-12-22
Author: wcshen1994@163.com
File Name: deepctr/models/wdl.py
Class Name:
Method Name: WDL


Project Name: deepchem/deepchem
Commit Name: 1636ede4e3f3c729a11e74d59d59d71ba33801d1
Time: 2019-08-26
Author: peastman@stanford.edu
File Name: deepchem/models/IRV.py
Class Name: TensorflowMultitaskIRVClassifier
Method Name: __init__