tf.contrib.learn.monitors.NanLoss.__init__(loss_tensor, every_n_steps=100, fail_on_nan_loss=True)
Initializes NanLoss monitor.
Args:
-
loss_tensor
:Tensor
, the loss tensor. -
every_n_steps
:int
, run check every this many steps. -
fail_on_nan_loss
:bool
, whether to raise exception when loss is NaN.
Please login to continue.