MCPcopy Create free account
hub / github.com/BIT-MCS/DRL-eFresh / get

Method get

utils/base_utils.py:184–187  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

182 self.lock = mp.Lock()
183
184 def get(self):
185 # used by chief
186 with self.lock:
187 return self.val.value
188
189 def increment(self):
190 # used by workers

Callers 3

trainFunction · 0.45
chiefFunction · 0.45
average_gradientMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected