MCPcopy Create free account
hub / github.com/apple/ml-stable-diffusion / forward

Method forward

python_coreml_stable_diffusion/unet.py:502–503  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

500 self.conv = nn.Conv2d(channels, channels, 3, stride=2, padding=1)
501
502 def forward(self, x):
503 return self.conv(x)
504
505
506class SpatialTransformer(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected