tf.contrib.learn.monitors.ValidationMonitor.set_estimator()

tf.contrib.learn.monitors.ValidationMonitor.set_estimator(estimator) A setter called automatically by the target estimator. If the estimator is locked, this method does nothing. Args: estimator: the estimator that this monitor monitors. Raises: ValueError: if the estimator is None.

tf.contrib.learn.monitors.ValidationMonitor.run_on_all_workers

tf.contrib.learn.monitors.ValidationMonitor.run_on_all_workers

tf.contrib.learn.monitors.ValidationMonitor.post_step()

tf.contrib.learn.monitors.ValidationMonitor.post_step(step, session)

tf.contrib.learn.monitors.ValidationMonitor.every_n_step_end()

tf.contrib.learn.monitors.ValidationMonitor.every_n_step_end(step, outputs)

tf.contrib.learn.monitors.ValidationMonitor.every_n_step_begin()

tf.contrib.learn.monitors.ValidationMonitor.every_n_step_begin(step) Callback before every n'th step begins. Args: step: int, the current value of the global step. Returns: A list of tensors that will be evaluated at this step.

tf.contrib.learn.monitors.ValidationMonitor.every_n_post_step()

tf.contrib.learn.monitors.ValidationMonitor.every_n_post_step(step, session) Callback after a step is finished or end() is called. Args: step: int, the current value of the global step. session: Session object.

tf.contrib.learn.monitors.ValidationMonitor.epoch_end()

tf.contrib.learn.monitors.ValidationMonitor.epoch_end(epoch) End epoch. Args: epoch: int, the epoch number. Raises: ValueError: if we've not begun an epoch, or epoch number does not match.

tf.contrib.learn.monitors.ValidationMonitor.epoch_begin()

tf.contrib.learn.monitors.ValidationMonitor.epoch_begin(epoch) Begin epoch. Args: epoch: int, the epoch number. Raises: ValueError: if we've already begun an epoch, or epoch < 0.

tf.contrib.learn.monitors.ValidationMonitor.end()

tf.contrib.learn.monitors.ValidationMonitor.end(session=None)

tf.contrib.learn.monitors.ValidationMonitor.early_stopped

tf.contrib.learn.monitors.ValidationMonitor.early_stopped Returns True if this monitor caused an early stop.