860dc3903f01527b9fa57d50da63910c4cea6c2f,src/model/model.py,Model,__init__,#Model#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,28

Before Change


            else:
                params_init.append(param)

        self.saver_all = tf.train.Saver(tf.all_variables())
        //self.saver = tf.train.Saver(list(set(tf.all_variables())-set(params_add)))
        self.saver = tf.train.Saver(params_load)
        init_new_vars_op = tf.initialize_variables(params_init)

After Change


                self.keras_updates = []
                for i in xrange(int(len(cnn_model.model.updates)/2)):
                    old_value = cnn_model.model.updates[i*2]
                    new_value = cnn_model.model.updates[i*2+1]
                    self.keras_updates.append(tf.assign(old_value, new_value))

        params_dict = {}
        params_raw = tf.all_variables()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: emedvedev/attention-ocr
Commit Name: 860dc3903f01527b9fa57d50da63910c4cea6c2f
Time: 2016-11-13
Author: ubuntu@ip-172-31-22-240.us-west-2.compute.internal
File Name: src/model/model.py
Class Name: Model
Method Name: __init__


Project Name: tensorflow/magenta
Commit Name: ad7d42093443bfdaeb1948e77f72b520419d39fc
Time: 2019-08-20
Author: khanhlvg@users.noreply.github.com
File Name: magenta/models/image_stylization/image_stylization_train.py
Class Name:
Method Name: main


Project Name: tensorflow/magenta
Commit Name: 2bad305c7badb269af17b83693662f75dda5d7b6
Time: 2019-09-13
Author: khanhlvg@google.com
File Name: magenta/models/image_stylization/image_stylization_train.py
Class Name:
Method Name: main


Project Name: tensorflow/magenta
Commit Name: f9a33006e5794fe1bfae5be04c44a58c68f6696f
Time: 2019-08-23
Author: khanhlvg@users.noreply.github.com
File Name: magenta/models/image_stylization/image_stylization_train.py
Class Name:
Method Name: main


Project Name: CyberReboot/NetworkML
Commit Name: e2226f604c7f6444630be324d06a8130a01f3366
Time: 2018-01-22
Author: CStephenson970@gmail.com
File Name: NodeClassifier/utils/rnnclassifier.py
Class Name: AbnormalDetector
Method Name: __init__