original_docstring: Save statistics as tensorboard summaries.
  
      Args:
        iteration: int, The current iteration number.
        num_episodes_train: int, number of training episodes run.
        average_reward_train: float, The average training reward.
        num_episodes_eval: int, number of evaluation episodes run.
        average_reward_eval: float, The average evaluation reward.
      
docstring: Save statistics as tensorboard summaries.
docstring_tokens: Save statistics as tensorboard summaries .
code: def _save_tensorboard_summaries(self, iteration,
                                    num_episodes_train,
                                    average_reward_train,
                                    num_episodes_eval,
                                    average_reward_eval):
      """Save statistics as tensorboard summaries.
  
      Args:
        iteration: int, The current iteration number.
        num_episodes_train: int, number of training episodes run.
        average_reward_train: float, The average training reward.
        num_episodes_eval: int, number of evaluation episodes run.
        average_reward_eval: float, The average evaluation reward.
      """
      summary = tf.Summary(value=[
          tf.Summary.Value(tag='Train/NumEpisodes',
                           simple_value=num_episodes_train),
          tf.Summary.Value(tag='Train/AverageReturns',
                           simple_value=average_reward_train),
          tf.Summary.Value(tag='Eval/NumEpisodes',
                           simple_value=num_episodes_eval),
          tf.Summary.Value(tag='Eval/AverageReturns',
                           simple_value=average_reward_eval)
      ])
      self._summary_writer.add_summary(summary, iteration)
code_tokens: def _save_tensorboard_summaries ( self , iteration , num_episodes_train , average_reward_train , num_episodes_eval , average_reward_eval ) : summary = tf . Summary ( value = [ tf . Summary . Value ( tag = 'Train/NumEpisodes' , simple_value = num_episodes_train ) , tf . Summary . Value ( tag = 'Train/AverageReturns' , simple_value = average_reward_train ) , tf . Summary . Value ( tag = 'Eval/NumEpisodes' , simple_value = num_episodes_eval ) , tf . Summary . Value ( tag = 'Eval/AverageReturns' , simple_value = average_reward_eval ) ] ) self . _summary_writer . add_summary ( summary , iteration )
short_docstring: Save statistics as tensorboard summaries.
short_docstring_tokens: Save statistics as tensorboard summaries .
comment: """Save statistics as tensorboard summaries.
  
      Args:
        iteration: int, The current iteration number.
        num_episodes_train: int, number of training episodes run.
        average_reward_train: float, The average training reward.
        num_episodes_eval: int, number of evaluation episodes run.
        average_reward_eval: float, The average evaluation reward.
      """