MCPcopy Create free account
hub / github.com/Gadersd/stable-diffusion-burn / __init__

Method __init__

python/dump.py:407–411  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

405
406class CLIPEncoderLayer:
407 def __init__(self):
408 self.self_attn = CLIPAttention()
409 self.layer_norm1 = LayerNorm(768)
410 self.mlp = CLIPMLP()
411 self.layer_norm2 = LayerNorm(768)
412
413 def __call__(self, hidden_states, causal_attention_mask):
414 residual = hidden_states

Callers

nothing calls this directly

Calls 2

CLIPAttentionClass · 0.85
CLIPMLPClass · 0.85

Tested by

no test coverage detected