parameters: (graph, eval_steps)
return_statement: return loop
docstring: Create and configure an evaluation loop.
  
    Args:
      graph: Object providing graph elements via attributes.
      eval_steps: Number of evaluation steps per epoch.
  
    Returns:
      Loop object.
docstring_summary: Create and configure an evaluation loop.
docstring_tokens: Create and configure an evaluation loop .
function: def _define_loop(graph, eval_steps):
    """Create and configure an evaluation loop.
  
    Args:
      graph: Object providing graph elements via attributes.
      eval_steps: Number of evaluation steps per epoch.
  
    Returns:
      Loop object.
    """
    loop = tools.Loop(None, graph.step, graph.should_log, graph.do_report, graph.force_reset)
    loop.add_phase('eval',
                   graph.done,
                   graph.score,
                   graph.summary,
                   eval_steps,
                   report_every=eval_steps,
                   log_every=None,
                   checkpoint_every=None,
                   feed={graph.is_training: False})
    return loop
function_tokens: def _define_loop ( graph , eval_steps ) : loop = tools . Loop ( None , graph . step , graph . should_log , graph . do_report , graph . force_reset ) loop . add_phase ( 'eval' , graph . done , graph . score , graph . summary , eval_steps , report_every = eval_steps , log_every = None , checkpoint_every = None , feed = { graph . is_training : False } ) return loop