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

Method __len__

diffsynth/data/video.py:107–111  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

105 self.width = width
106
107 def __len__(self):
108 if self.length is None:
109 return len(self.data)
110 else:
111 return self.length
112
113 def shape(self):
114 if self.height is not None and self.width is not None:

Callers 2

raw_dataMethod · 0.95
save_imagesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected