MCPcopy Create free account
hub / github.com/360CVGroup/FancyVideo / forward

Method forward

fancyvideo/models/unet.py:55–61  ·  view source on GitHub ↗
(self, sample)

Source from the content-addressed store, hash-verified

53 self.act = nn.Mish()
54
55 def forward(self, sample):
56 sample = self.linear(sample)
57
58 if self.act is not None:
59 sample = self.act(sample)
60
61 return sample
62
63class UNet3DConditionModel(ModelMixin, ConfigMixin):
64 _supports_gradient_checkpointing = True

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected