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

Method set_shape

diffsynth/data/video.py:103–105  ·  view source on GitHub ↗
(self, height, width)

Source from the content-addressed store, hash-verified

101 self.length = length
102
103 def set_shape(self, height, width):
104 self.height = height
105 self.width = width
106
107 def __len__(self):
108 if self.length is None:

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected