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

Method forward

src/attention_controllers.py:146–147  ·  view source on GitHub ↗
(self, attn, is_cross: bool, place_in_unet: str)

Source from the content-addressed store, hash-verified

144
145 @abc.abstractmethod
146 def forward(self, attn, is_cross: bool, place_in_unet: str):
147 raise NotImplementedError
148
149 def __call__(self, attn, is_cross: bool, place_in_unet: str):
150 if self.cur_att_layer >= self.num_uncond_att_layers:

Callers 1

__call__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected