ScalarSummary

public final class ScalarSummary

Outputs a `Summary` protocol buffer with scalar values.

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`.

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

Output<TString>
asOutput()
Returns the symbolic handle of the tensor.
static ScalarSummary
create(Scope scope, Operand<TString> tags, Operand<? extends TNumber> values)
Factory method to create a class wrapping a new ScalarSummary operation.
Output<TString>
summary()
Scalar.

Inherited Methods

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "ScalarSummary"

Public Methods

public Output<TString> asOutput ()

Returns the symbolic handle of the tensor.

Inputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.

public static ScalarSummary create (Scope scope, Operand<TString> tags, Operand<? extends TNumber> values)

Factory method to create a class wrapping a new ScalarSummary operation.

Parameters
scope current scope
tags Tags for the summary.
values Same shape as `tags. Values for the summary.
Returns
  • a new instance of ScalarSummary

public Output<TString> summary ()

Scalar. Serialized `Summary` protocol buffer.