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

Method shape

diffsynth/extensions/FastBlend/data.py:129–134  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

127 return self.length
128
129 def shape(self):
130 if self.height is not None and self.width is not None:
131 return self.height, self.width
132 else:
133 height, width, _ = self.__getitem__(0).shape
134 return height, width
135
136 def __getitem__(self, item):
137 frame = self.data.__getitem__(item)

Callers 2

check_input_for_blendingFunction · 0.95

Calls 1

__getitem__Method · 0.95

Tested by

no test coverage detected