MCPcopy Create free account
hub / github.com/TencentARC/BrushNet / forward

Method forward

src/diffusers/models/embeddings.py:788–792  ·  view source on GitHub ↗
(self, caption)

Source from the content-addressed store, hash-verified

786 self.linear_2 = nn.Linear(in_features=hidden_size, out_features=hidden_size, bias=True)
787
788 def forward(self, caption):
789 hidden_states = self.linear_1(caption)
790 hidden_states = self.act_1(hidden_states)
791 hidden_states = self.linear_2(hidden_states)
792 return hidden_states
793
794
795class IPAdapterPlusImageProjection(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected