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

Method to

diffsynth/controlnets/processors.py:42–45  ·  view source on GitHub ↗
(self,device)

Source from the content-addressed store, hash-verified

40 self.detect_resolution = detect_resolution
41
42 def to(self,device):
43 if hasattr(self.processor,"model") and hasattr(self.processor.model,"to"):
44
45 self.processor.model.to(device)
46
47 def __call__(self, image, mask=None):
48 width, height = image.size

Callers 15

__init__Method · 0.45
offloadMethod · 0.45
onloadMethod · 0.45
forwardMethod · 0.45
offloadMethod · 0.45
onloadMethod · 0.45
sinusoidal_embedding_1dFunction · 0.45
rope_applyFunction · 0.45
usp_dit_forwardFunction · 0.45
__init__Method · 0.45
init_cross_kvMethod · 0.45
__call__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected