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

Method __init__

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

Source from the content-addressed store, hash-verified

425
426class CLIPEncoder:
427 def __init__(self):
428 self.layers = [CLIPEncoderLayer() for i in range(12)]
429
430 def __call__(self, hidden_states, causal_attention_mask):
431 for l in self.layers:

Callers

nothing calls this directly

Calls 1

CLIPEncoderLayerClass · 0.85

Tested by

no test coverage detected