parameters: (loss_op=None, summary_op=None, save_summary_steps=100,
                           output_dir=None, summary_writer=None)
return_statement: return monitors
docstring: 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.
docstring_summary: Returns a default set of typically-used monitors.
docstring_tokens: Returns a default set of typically - used monitors .
function: 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.
  
    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.
    """
  
    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
function_tokens: def get_default_monitors ( loss_op = None , summary_op = None , save_summary_steps = 100 , output_dir = None , summary_writer = None ) : 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