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

Before Change


                else:
                    input_name = "input{0}".format(input_index)
                    if input_name not in layers:
                        continue
                    node_input_names.append(input_name)
                    input_index += 1
                    model_inputs[node_inputs[0]] = input_name

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: 4

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: automl/auto-sklearn
Commit Name: 68b022cb9d24eb4e9b8341887e8ff1c9f9fda405
Time: 2020-12-11
Author: 44504424+franchuterivera@users.noreply.github.com
File Name: test/test_pipeline/test_classification.py
Class Name: SimpleClassificationPipelineTest
Method Name: test_fit_instantiates_component


Project Name: deeppomf/DeepCreamPy
Commit Name: 6b1468956dd574a34041f782101f9a5cc3bb173c
Time: 2019-06-18
Author: donald.carlsson@paranta.se
File Name: decensor.py
Class Name: Decensor
Method Name: decensor_image


Project Name: pytorch/contrib
Commit Name: 3a7d1a1831024c8085344535c55ae7af20a784d9
Time: 2018-07-28
Author: izmailovpavel@gmail.com
File Name: torchcontrib/optim/swa.py
Class Name: SWA
Method Name: swap_swa_sgd