↓ 1 callersFunctioncreate_network(
multiplier, network_dim, network_alpha, vae, text_encoder, unet, warn_on_unmatched=True, **kwargs
)
lycoris/kohya.py:30
↓ 1 callersFunctiondiff_weight### diff_weight Get ΔW = BA, where BA is low rank decomposition Args: wegihts (tuple[torch.Tensor]): (w1d, w2d, w1u, w2u[, t1, t2])
lycoris/functional/loha.py:119
↓ 1 callersFunctionextract_linear(
weight: Union[torch.Tensor, nn.Parameter],
mode="fixed",
mode_param=0,
device="cpu",
)
lycoris/utils/__init__.py:109
↓ 1 callersFunctionmake_weight_tucker(t1, w1d, w1u, t2, w2d, w2u, scale)
lycoris/functional/loha.py:82