(self, tag, value, step)
Log a scalar variable.
Log a scalar variable.
Log a scalar variable .
def scalar_summary(self, tag, value, step):
        """Log a scalar variable."""
        summary = tf.Summary(value=[tf.Summary.Value(tag=tag,
                                                     simple_value=value)])
        self.writer.add_summary(summary, step)
def scalar_summary ( self , tag , value , step ) : summary = tf . Summary ( value = [ tf . Summary . Value ( tag = tag , simple_value = value ) ] ) self . writer . add_summary ( summary , step )