MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / Out

Class Out

diffusers/tests/pipelines/test_pipelines.py:1244–1250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1242 def dummy_extractor(self):
1243 def extract(*args, **kwargs):
1244 class Out:
1245 def __init__(self):
1246 self.pixel_values = torch.ones([0])
1247
1248 def to(self, device):
1249 self.pixel_values.to(device)
1250 return self
1251
1252 return Out()
1253

Callers 1

extractMethod · 0.70

Calls

no outgoing calls

Tested by 1

extractMethod · 0.56