(self, sess, key, value)
return sess.run(summary, {placeholder: value})
Get TF (scalar) summary.

    Args:
      sess: A TF Session to be used in making summary.
      key: A string indicating the name of summary.
      value: A string indicating the value of summary.

    Returns:
      A TF summary.
Get TF (scalar) summary.
Get TF ( scalar ) summary .
def get_summary(self, sess, key, value):
    """Get TF (scalar) summary.

    Args:
      sess: A TF Session to be used in making summary.
      key: A string indicating the name of summary.
      value: A string indicating the value of summary.

    Returns:
      A TF summary.
    """
    self._add_key_if_not_exists(key)
    placeholder, summary = self._key_to_ph_summary_tuple[key]
    return sess.run(summary, {placeholder: value})
def get_summary ( self , sess , key , value ) : self . _add_key_if_not_exists ( key ) placeholder , summary = self . _key_to_ph_summary_tuple [ key ] return sess . run ( summary , { placeholder : value } )