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

Method forward

diffsynth/extensions/ImageQualityMetric/imagereward.py:51–52  ·  view source on GitHub ↗
(self, input)

Source from the content-addressed store, hash-verified

49 torch.nn.init.constant_(param, val=0)
50
51 def forward(self, input):
52 return self.layers(input)
53
54class ImageReward(torch.nn.Module):
55 def __init__(self, med_config, device='cpu', bert_model_path=""):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected