MCPcopy Create free account
hub / github.com/KohakuBlueleaf/LyCORIS / apply_max_norm

Method apply_max_norm

lycoris/modules/base.py:412–413  ·  view source on GitHub ↗
(self, max_norm, device=None)

Source from the content-addressed store, hash-verified

410 else:
411 weight, bias = self.get_merged_weight(
412 multiplier,
413 ctx.weight_param.shape,
414 ctx.target_device,
415 )
416 self._apply_merged_weights(ctx, weight, bias)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected