MCPcopy Create free account
hub / github.com/tdrussell/diffusion-pipe / get

Method get

utils/reduction.py:80–82  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

78 self.lock = threading.Lock()
79
80 def get(self, key): # type: ignore[override]
81 with self.lock:
82 return dict.get(self, key)
83
84 def __setitem__(self, key, storage_ref):
85 with self.lock:

Callers 15

set_config_defaultsFunction · 0.80
train.pyFile · 0.80
get_optimizerFunction · 0.80
__init__Method · 0.80
storage_from_cacheFunction · 0.80
swap_weight_devices_cudaFunction · 0.80
initFunction · 0.80
__init__Method · 0.80
__init__Method · 0.80
validateMethod · 0.80
add_captionsMethod · 0.80
_set_defaultsMethod · 0.80

Calls

no outgoing calls

Tested by 1

__init__Method · 0.64