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


            if node_input.node().scopeName():
                node_input_names.append(get_node_id(node_input.node()))
            if "input{0}".format(get_node_id(node_input.node())) in model_inputs:
                node_input_names.append("input{0}".format(get_node_id(node_input.node())))
        // print(node_input_names)

        // if len(node_input_names) == 0:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

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: 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: deepgram/kur
Commit Name: 7e2d3f6c0ce76c3b77d771b706c083aeab5ccddc
Time: 2017-04-11
Author: ajsyp@syptech.net
File Name: kur/kurfile.py
Class Name: Kurfile
Method Name: get_optimizer