1cf4c73059ba4435f37a93a316edbd426263cbf0,pytorch2keras/converter.py,,pytorch_to_keras,#,141

Before Change


    outputs = []

    input_index = 0
    model_inputs = dict()
    for node in nodes:
        node_inputs = list(node.inputs())
        node_input_names = []
        for node_input in node_inputs:

After Change


    print("Graph outputs:", graph_outputs)


    graph_inputs = [n.uniqueName() for n in trace.graph().inputs()]
    print("Graph inputs:", graph_inputs)

    // Collect model state dict
    state_dict = _unique_state_dict(model)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: nerox8664/pytorch2keras
Commit Name: 1cf4c73059ba4435f37a93a316edbd426263cbf0
Time: 2018-12-20
Author: nerox8664@gmail.com
File Name: pytorch2keras/converter.py
Class Name:
Method Name: pytorch_to_keras


Project Name: nilearn/nilearn
Commit Name: 68e3699215df53a6bd57675c75d937f2d3a75891
Time: 2017-01-19
Author: alexsavio@gmail.com
File Name: nilearn/datasets/atlas.py
Class Name:
Method Name: fetch_atlas_allen_2011


Project Name: oval-group/logger
Commit Name: 1e73293efb902f223f60b89750d66f953338499b
Time: 2018-05-11
Author: leonardbj@hotmail.fr
File Name: logger/plotter.py
Class Name: Plotter
Method Name: plot_config


Project Name: snorkel-team/snorkel
Commit Name: 705e46d8c12fb86646ea5438e2225b5dd3912ae9
Time: 2016-08-10
Author: ajratner@gmail.com
File Name: snorkel/viewer.py
Class Name: Viewer
Method Name: get_labels