MCPcopy Create free account
hub / github.com/Monalissaa/DisenDiff / __init__

Method __init__

src/attention_controllers.py:220–226  ·  view source on GitHub ↗
(self, all_step_attention_store=False)

Source from the content-addressed store, hash-verified

218 self.attention_store = {}
219
220 def __init__(self, all_step_attention_store=False):
221 super(AttentionStore, self).__init__()
222 self.step_store = self.get_empty_store()
223 self.attention_store = {}
224 self.all_step_attention_store = all_step_attention_store
225 if all_step_attention_store:
226 self.all_step_attention = {}
227

Callers

nothing calls this directly

Calls 1

get_empty_storeMethod · 0.95

Tested by

no test coverage detected