bcfb6021f2fd9b4412625ef7ee6bc703f40468b9,hypergan/gans/base_gan.py,BaseGAN,trainable_vars,#BaseGAN#,145
Before Change
def trainable_vars(self):
d_vars = list(set(self.d_vars()).intersection(tf.trainable_variables()))
g_vars = list(set(self.g_vars()).intersection(tf.trainable_variables()))
return d_vars, g_vars
def save(self, save_file):
print("[hypergan] Saving network to ", save_file)
After Change
return self.discriminator.variables()
def trainable_vars(self):
return self.trainable_d_vars(), self.trainable_g_vars()
def trainable_d_vars(self):
return list(set(self.d_vars()).intersection(tf.trainable_variables()))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: HyperGAN/HyperGAN
Commit Name: bcfb6021f2fd9b4412625ef7ee6bc703f40468b9
Time: 2019-01-10
Author: mikkel@255bits.com
File Name: hypergan/gans/base_gan.py
Class Name: BaseGAN
Method Name: trainable_vars
Project Name: RaRe-Technologies/gensim
Commit Name: 680de8d4f35325e7486c07c4e06422929e826b57
Time: 2019-01-10
Author: __Singleton__@hackerdom.ru
File Name: gensim/corpora/lowcorpus.py
Class Name: LowCorpus
Method Name: line2doc
Project Name: PyMVPA/PyMVPA
Commit Name: 2bf8934c85501fec5bdc028e3926f3a2999be99d
Time: 2014-02-27
Author: debian@onerussian.com
File Name: mvpa2/cmdline/cmd_searchlight.py
Class Name:
Method Name: run