Spaces:
Sleeping
Sleeping
File size: 540 Bytes
4a1df2e |
1 2 3 4 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 33 |
"""
Attack Logger Wrapper
========================
"""
from abc import ABC
class Logger(ABC):
"""An abstract class for different methods of logging attack results."""
def __init__(self):
pass
def log_attack_result(self, result, examples_completed=None):
pass
def log_summary_rows(self, rows, title, window_id):
pass
def log_hist(self, arr, numbins, title, window_id):
pass
def log_sep(self):
pass
def flush(self):
pass
def close(self):
pass
|