Method
__init__
(self, *args, lora_layer: Optional[LoRAConv2dLayer] = None, scale: float = 1.0, **kwargs)
Source from the content-addressed store, hash-verified
| 86 | """ |
| 87 | |
| 88 | def __init__(self, *args, lora_layer: Optional[LoRAConv2dLayer] = None, scale: float = 1.0, **kwargs): |
| 89 | super().__init__(*args, **kwargs) |
| 90 | self.lora_layer = lora_layer |
| 91 | self.scale = scale |
| 92 | |
| 93 | def set_lora_layer(self, lora_layer: Optional[LoRAConv2dLayer]): |
| 94 | self.lora_layer = lora_layer |
Callers
nothing calls this directly
Tested by
no test coverage detected