def get_default_monitors(loss_op=None, summary_op=None, save_summary_steps=100, output_dir=None, summary_writer=None):
    'Returns a default set of typically-used monitors.\n\n  Args:\n    loss_op: `Tensor`, the loss tensor. This will be printed using `PrintTensor`\n        at the default interval.\n    summary_op: See `SummarySaver`.\n    save_summary_steps: See `SummarySaver`.\n    output_dir:  See `SummarySaver`.\n    summary_writer:  See `SummarySaver`.\n  Returns:\n    `list` of monitors.\n  '
    monitors = []
    if (loss_op is not None):
        monitors.append(PrintTensor(tensor_names={'loss': loss_op.name}))
    if (summary_op is not None):
        monitors.append(SummarySaver(summary_op, save_steps=save_summary_steps, output_dir=output_dir, summary_writer=summary_writer))
    return monitors
Returns a default set of typically-used monitors.

Args:
  loss_op: `Tensor`, the loss tensor. This will be printed using `PrintTensor`
      at the default interval.
  summary_op: See `SummarySaver`.
  save_summary_steps: See `SummarySaver`.
  output_dir:  See `SummarySaver`.
  summary_writer:  See `SummarySaver`.
Returns:
  `list` of monitors.
def get_default_monitors(loss_op=None, summary_op=None, save_summary_steps=100, output_dir=None, summary_writer=None):
    'Returns a default set of typically-used monitors.\n\n  Args:\n    loss_op: `Tensor`, the loss tensor. This will be printed using `PrintTensor`\n        at the default interval.\n    summary_op: See `SummarySaver`.\n    save_summary_steps: See `SummarySaver`.\n    output_dir:  See `SummarySaver`.\n    summary_writer:  See `SummarySaver`.\n  Returns:\n    `list` of monitors.\n  '
    monitors = []
    if (loss_op is not None):
        monitors.append(PrintTensor(tensor_names={'loss': loss_op.name}))
    if (summary_op is not None):
        monitors.append(SummarySaver(summary_op, save_steps=save_summary_steps, output_dir=output_dir, summary_writer=summary_writer))
    return monitors