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'
The input tags and values must have the same shape. The generated
summary has a summary value for each tag-value pair in tags and values.
Args
tags
A stringTensor. 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 [GraphKeys.SUMMARIES].
name
A name for the operation (optional).
Returns
A scalar Tensor of type string. The serialized Summary protocol
buffer.
[null,null,["Last updated 2020-10-01 UTC."],[],[],null,["# tf.contrib.deprecated.scalar_summary\n\n\u003cbr /\u003e\n\n|-------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/ops/logging_ops.py#L644-L677) |\n\nOutputs a `Summary` protocol buffer with scalar values. (deprecated) \n\n tf.contrib.deprecated.scalar_summary(\n tags, values, collections=None, name=None\n )\n\n| **Warning:** 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.\n\nThis ops is deprecated. Please switch to tf.summary.scalar.\nFor an explanation of why this op was deprecated, and information on how to\nmigrate, look\n['here'](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/deprecated/__init__.py)\n\nThe input `tags` and `values` must have the same shape. The generated\nsummary has a summary value for each tag-value pair in `tags` and `values`.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|---------------|---------------------------------------------------------------------------------------------------------------------------------|\n| `tags` | A `string` `Tensor`. Tags for the summaries. |\n| `values` | A real numeric Tensor. Values for the summaries. |\n| `collections` | Optional list of graph collections keys. The new summary op is added to these collections. Defaults to `[GraphKeys.SUMMARIES]`. |\n| `name` | A name for the operation (optional). |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| A scalar `Tensor` of type `string`. The serialized `Summary` protocol buffer. ||\n\n\u003cbr /\u003e"]]