paddlespeech.s2t.training.timer module

class paddlespeech.s2t.training.timer.Timer(message=None)[source]

Bases: object

To be used like this: with Timer("Message") as value:

do some thing

Methods

__call__()

Call self as a function.

duration

duration() str[source]