paddleaudio.utils.time模块

class paddleaudio.utils.time.Timer(total_step: int)[来源]

基础: object

计算奔跑速度和预计到达时间(ETA)

Attributes:
eta
is_running
timing

方法

计数

开始

停止

count() int[来源]
property eta: str
property is_running: bool
start()[来源]
stop()[来源]
property timing: float
paddleaudio.utils.time.seconds_to_hms(seconds: int) str[来源]

将秒数转换为hh:mm:ss