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

Method __call__

python/dump.py:430–433  ·  view source on GitHub ↗
(self, hidden_states, causal_attention_mask)

Source from the content-addressed store, hash-verified

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:
432 hidden_states = l(hidden_states, causal_attention_mask)
433 return hidden_states
434
435class CLIPTextEmbeddings:
436 def __init__(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected