MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / __init__

Method __init__

k_diffusion/models/modules.py:643–646  ·  view source on GitHub ↗
(self, input_dim, out_dim, cond_dims)

Source from the content-addressed store, hash-verified

641class LocalCondProj(nn.Module):
642
643 def __init__(self, input_dim, out_dim, cond_dims):
644 super().__init__()
645 self.proj_in=(nn.Linear(input_dim, out_dim, bias=False))
646 self.ff=FeedForwardBlock(out_dim, out_dim, cond_dims)
647
648
649 def forward(self, x, noise_cond):

Callers

nothing calls this directly

Calls 2

FeedForwardBlockClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected