Monitor(interval[, stat_func, pattern, sort]) Monitor outputs, weights, and gradients for debugging.