552c2b3b51c83fc27bdf6df691f1d707e40865f9,tensorpack/tfutils/model_utils.py,,describe_trainable_vars,#,15

Before Change


            del x[4]
        del headers[4]

    devices = set([x[3] for x in data])
    if len(devices) == 1:
        // don"t log the device if all vars on the same device
        for x in data:
            del x[3]

After Change


            del x[4]
        del headers[4]

    devices = {x[3] for x in data}
    if len(devices) == 1:
        // don"t log the device if all vars on the same device
        for x in data:
            del x[3]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: tensorpack/tensorpack
Commit Name: 552c2b3b51c83fc27bdf6df691f1d707e40865f9
Time: 2020-01-09
Author: ppwwyyxx@users.noreply.github.com
File Name: tensorpack/tfutils/model_utils.py
Class Name:
Method Name: describe_trainable_vars


Project Name: tensorpack/tensorpack
Commit Name: 552c2b3b51c83fc27bdf6df691f1d707e40865f9
Time: 2020-01-09
Author: ppwwyyxx@users.noreply.github.com
File Name: scripts/dump-model-params.py
Class Name:
Method Name:


Project Name: uber/ludwig
Commit Name: b11ab9309454e527ef04cac913ad091f74501ab9
Time: 2020-02-14
Author: piero@uber.com
File Name: ludwig/models/model.py
Class Name: Model
Method Name: collect_weights