Skip to main content

utils.writer.stdout

Stdout writer module.

Stdout Objects#

class Stdout(Writer)

This class implements the stdout writer for stats.

log_scalar#

def log_scalar(k, v, step)

Log metric to stdout.

log_multi#

def log_multi(k, v, step)

Log metric to stdout.

log_model#

def log_model(flat_weights, flat_grads, step)

Log model to stdout. Can slow down training. Only use for debugging. It's logged in Tensorboard by default.

log_graph#

def log_graph(model, device=None)

Log model graph to stdout.