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

Method __init__

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

Source from the content-addressed store, hash-verified

442
443class CLIPTextTransformer:
444 def __init__(self):
445 self.embeddings = CLIPTextEmbeddings()
446 self.encoder = CLIPEncoder()
447 self.final_layer_norm = LayerNorm(768)
448
449 def __call__(self, input_ids):
450 seq_len = input_ids.shape[1]

Callers

nothing calls this directly

Calls 2

CLIPTextEmbeddingsClass · 0.85
CLIPEncoderClass · 0.85

Tested by

no test coverage detected