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

Method __call__

python/dump.py:357–361  ·  view source on GitHub ↗
(self, hidden_states)

Source from the content-addressed store, hash-verified

355 self.fc2 = Linear(3072, 768)
356
357 def __call__(self, hidden_states):
358 hidden_states = self.fc1(hidden_states)
359 hidden_states = hidden_states.quick_gelu()
360 hidden_states = self.fc2(hidden_states)
361 return hidden_states
362
363class CLIPAttention:
364 def __init__(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected