MCPcopy Create free account
hub / github.com/apple/ml-stable-diffusion / LayerNormANE

Class LayerNormANE

python_coreml_stable_diffusion/unet.py:134–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132
133
134class LayerNormANE(LayerNormANE):
135
136 def __init__(self, *args, **kwargs):
137 super().__init__(*args, **kwargs)
138 self._register_load_state_dict_pre_hook(
139 correct_for_bias_scale_order_inversion)
140
141
142# Reference: https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/unet_2d_condition.py

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected