original_docstring: Attach a lot of summaries to a Tensor (for TensorBoard visualization).
docstring: Attach a lot of summaries to a Tensor (for TensorBoard visualization).
docstring_tokens: Attach a lot of summaries to a Tensor ( for TensorBoard visualization ) .
code: def variable_summaries(var):
    """Attach a lot of summaries to a Tensor (for TensorBoard visualization)."""
    if FLAGS.verbose:
      with tf.name_scope('summaries'):
        mean = tf.reduce_mean(var)
        tf.summary.scalar('mean', mean)
  
        with tf.name_scope('stddev'):
          stddev = tf.sqrt(tf.reduce_mean(tf.square(var - mean)))
        tf.summary.scalar('stddev', stddev)
        tf.summary.scalar('max', tf.reduce_max(var))
        tf.summary.scalar('min', tf.reduce_min(var))
        tf.summary.histogram('histogram', var)
    else:
      pass
code_tokens: def variable_summaries ( var ) : if FLAGS . verbose : with tf . name_scope ( 'summaries' ) : mean = tf . reduce_mean ( var ) tf . summary . scalar ( 'mean' , mean ) with tf . name_scope ( 'stddev' ) : stddev = tf . sqrt ( tf . reduce_mean ( tf . square ( var - mean ) ) ) tf . summary . scalar ( 'stddev' , stddev ) tf . summary . scalar ( 'max' , tf . reduce_max ( var ) ) tf . summary . scalar ( 'min' , tf . reduce_min ( var ) ) tf . summary . histogram ( 'histogram' , var ) else : pass
short_docstring: Attach a lot of summaries to a Tensor (for TensorBoard visualization).
short_docstring_tokens: Attach a lot of summaries to a Tensor ( for TensorBoard visualization ) .
comment: """Attach a lot of summaries to a Tensor (for TensorBoard visualization)."""