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

Method extract

diffusers/tests/pipelines/test_pipelines.py:1243–1252  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

1241 @property
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
1254 return extract
1255

Callers

nothing calls this directly

Calls 1

OutClass · 0.70

Tested by

no test coverage detected