MCPcopy Create free account
hub / github.com/NJU-PCALab/STAR / null

Method null

utils_data/opensora/models/text_encoder/t5.py:194–196  ·  view source on GitHub ↗
(self, n)

Source from the content-addressed store, hash-verified

192 return dict(y=caption_embs, mask=emb_masks)
193
194 def null(self, n):
195 null_y = self.y_embedder.y_embedding[None].repeat(n, 1, 1)[:, None]
196 return null_y
197
198
199def basic_clean(text):

Callers 4

sampleMethod · 0.45
sample_srMethod · 0.45
sample_sr_freqMethod · 0.45
sampleMethod · 0.45

Calls 1

repeatMethod · 0.80

Tested by

no test coverage detected