MCPcopy Create free account
hub / github.com/OpenImagingLab/FlashVSR / __init__

Method __init__

diffsynth/models/hunyuan_video_dit.py:197–199  ·  view source on GitHub ↗
(self, patch_size=(1, 2, 2), in_channels=16, embed_dim=3072)

Source from the content-addressed store, hash-verified

195
196class PatchEmbed(torch.nn.Module):
197 def __init__(self, patch_size=(1, 2, 2), in_channels=16, embed_dim=3072):
198 super().__init__()
199 self.proj = torch.nn.Conv3d(in_channels, embed_dim, kernel_size=patch_size, stride=patch_size)
200
201 def forward(self, x):
202 x = self.proj(x)

Callers 13

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected