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

Method forward

diffsynth/extensions/ImageQualityMetric/aesthetic.py:31–32  ·  view source on GitHub ↗
(self, x: torch.Tensor)

Source from the content-addressed store, hash-verified

29 )
30
31 def forward(self, x: torch.Tensor) -> torch.Tensor:
32 return self.layers(x)
33
34 def training_step(self, batch: dict, batch_idx: int) -> torch.Tensor:
35 x = batch[self.xcol]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected