TensorSummary
tensorflow C++ API
tensorflow::ops::TensorSummary
Outputs a Summary
protocol buffer with a tensor.
Summary
This op is being phased out in favor ofTensorSummaryV2, which lets callers pass a tag as well as a serialized SummaryMetadata proto string that contains plugin-specific data. We will keep this op to maintain backwards compatibility.
Arguments:
- scope: A Scope object
- tensor: A tensor to serialize.
Optional attributes (seeAttrs
):
- description: A json-encoded SummaryDescription proto.
- labels: An unused list of strings.
- display_name: An unused string.
Returns:
Output
: The summary tensor.
TensorSummary block
Source link : https://github.com/EXPNUNI/enuSpace-Tensorflow/blob/master/enuSpaceTensorflow/tf_logging_ops.cpp
Argument:
- Scope scope : A Scope object (A scope is generated automatically each page. A scope is not connected.)
- Input tensor : Input tensor node.
- TensorSummary::Attrs attrs :optional attributes.
Return:
- Output summary : The summary tensor.
Result:
- std::vector<Tensor> result_summary : Returned object of executed result by calling session.