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

Method get_empty_store

src/attention_controllers.py:179–181  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

177
178 @staticmethod
179 def get_empty_store():
180 return {"down_cross": [], "mid_cross": [], "up_cross": [],
181 "down_self": [], "mid_self": [], "up_self": []}
182
183 def forward(self, attn, is_cross: bool, place_in_unet: str):
184 key = f"{place_in_unet}_{'cross' if is_cross else 'self'}"

Callers 3

between_stepsMethod · 0.95
resetMethod · 0.95
__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected