Observer
Observer
Bases: ABC
Defines methods to show the status of the benchmark execution to the user.
Source code in asrbench\observer.py
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | |
finish()
abstractmethod
Shows the finalization of progress.
Source code in asrbench\observer.py
29 30 31 32 | |
notify(message)
abstractmethod
Displays a message to the user.
Source code in asrbench\observer.py
24 25 26 27 | |
start_progress()
abstractmethod
Start progress execution.
Source code in asrbench\observer.py
9 10 11 12 | |
update_progress(progress, message)
abstractmethod
Updates execution progress.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
progress
|
float
|
|
required |
message
|
str
|
|
required |
Source code in asrbench\observer.py
14 15 16 17 18 19 20 21 22 | |