def __init__(self, log_dir=None, comment=''):
    if (log_dir == None):
        log_dir = ('./logs/tensorboard/' + time.strftime('%Y-%m-%d--%H-%M-%S', time.localtime(time.time())))
    super(LossWriter, self).__init__(log_dir=log_dir, comment=comment)
def __init__(self, log_dir=None, comment=):
    if (log_dir == None):
        log_dir = ('./logs/tensorboard/' + time.strftime('%Y-%m-%d--%H-%M-%S', time.localtime(time.time())))
    super(LossWriter, self).__init__(log_dir=log_dir, comment=comment)