MCPcopy
hub / github.com/2noise/ChatTTS / get_seqs

Method get_seqs

ChatTTS/model/velocity/sequence.py:300–307  ·  view source on GitHub ↗
(
        self,
        status: Optional[SequenceStatus] = None,
    )

Source from the content-addressed store, hash-verified

298 return self.num_unfinished_seqs()
299
300 def get_seqs(
301 self,
302 status: Optional[SequenceStatus] = None,
303 ) -> List[Sequence]:
304 if status is None:
305 return list(self.seqs_dict.values())
306 else:
307 return [seq for seq in self.seqs_dict.values() if seq.status == status]
308
309 def get_unfinished_seqs(self) -> List[Sequence]:
310 return [seq for seq in self.seqs_dict.values() if not seq.is_finished()]

Callers 15

num_seqsMethod · 0.95
is_finishedMethod · 0.95
abort_seq_groupMethod · 0.80
_scheduleMethod · 0.80
scheduleMethod · 0.80
_allocateMethod · 0.80
_append_slotMethod · 0.80
_preempt_by_recomputeMethod · 0.80
_swap_inMethod · 0.80
_swap_outMethod · 0.80
can_allocateMethod · 0.80
allocateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected