HistogramSummary

public final class HistogramSummary

Outputs a `Summary` protocol buffer with a histogram.

The generated [`Summary`](https://www.tensorflow.org/code/tensorflow/core/framework/summary.proto) has one summary value containing a histogram for `values`.

This op reports an `InvalidArgument` error if any value is not finite.

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 HistogramSummary
create(Scope scope, Operand<TString> tag, Operand<? extends TNumber> values)
Factory method to create a class wrapping a new HistogramSummary 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: "HistogramSummary"

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 HistogramSummary create (Scope scope, Operand<TString> tag, Operand<? extends TNumber> values)

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

Parameters
scope current scope
tag Scalar. Tag to use for the `Summary.Value`.
values Any shape. Values to use to build the histogram.
Returns
  • a new instance of HistogramSummary

public Output<TString> summary ()

Scalar. Serialized `Summary` protocol buffer.