tf.contrib.deprecated.scalar_summary( tags, values, collections=None, name=None )
See the guide: Upgrade to TensorFlow 1.0 > Upgrading your code manually
Summary protocol buffer with scalar values. (deprecated)
THIS FUNCTION IS DEPRECATED. It will be removed after 2016-11-30. Instructions for updating: Please switch to tf.summary.scalar. Note that tf.summary.scalar uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on the scope they are created in. Also, passing a tensor or list of tags to a scalar summary op is no longer supported.
This ops is deprecated. Please switch to tf.summary.scalar. For an explanation of why this op was deprecated, and information on how to migrate, look 'here'
values must have the same shape. The generated
summary has a summary value for each tag-value pair in
Tensor. Tags for the summaries.
values: A real numeric Tensor. Values for the summaries.
collections: Optional list of graph collections keys. The new summary op is added to these collections. Defaults to
name: A name for the operation (optional).
Tensor of type
string. The serialized