6caf721d1c33cf2fe2a18bdc26f25c8be599ff50,rl_coach/architectures/tensorflow_components/shared_variables.py,SharedRunningStats,__init__,#SharedRunningStats#Any#Any#Any#Any#Any#,27
Before Change
self.create_ops()
self.pubsub = None
if pubsub_params:
self.channel = "channel-srs-{}".format(self.name)
self.pubsub = get_memory_backend(pubsub_params)
subscribe_thread = SharedRunningStatsSubscribe(self)
subscribe_thread.daemon = True
subscribe_thread.start()
After Change
class TFSharedRunningStats(SharedRunningStats):
def __init__(self, replicated_device=None, epsilon=1e-2, name="", create_ops=True, pubsub_params=None):
super().__init__(name=name, pubsub_params=pubsub_params)
self.sess = None
self.replicated_device = replicated_device
self.epsilon = epsilon
self.ops_were_created = False
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: NervanaSystems/coach
Commit Name: 6caf721d1c33cf2fe2a18bdc26f25c8be599ff50
Time: 2018-11-18
Author: gal.leibovich@intel.com
File Name: rl_coach/architectures/tensorflow_components/shared_variables.py
Class Name: SharedRunningStats
Method Name: __init__
Project Name: NTMC-Community/MatchZoo
Commit Name: 2692f696e534b05bdbbb40e725018e6e3287f969
Time: 2018-12-24
Author: i@uduse.com
File Name: matchzoo/layers/matching_layer.py
Class Name: MatchingLayer
Method Name: __init__
Project Name: dmlc/gluon-nlp
Commit Name: 70a188776f7470c838dd22b1636462b75573a734
Time: 2020-07-16
Author: lausen@amazon.com
File Name: src/gluonnlp/models/roberta.py
Class Name: RobertaEncoder
Method Name: __init__