TensorSummary

public final class TensorSummary

Outputs a `Summary` protocol buffer with a tensor and per-plugin data.

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 TensorSummary
create(Scope scope, Operand<TString> tag, Operand<? extends TType> tensor, Operand<TString> serializedSummaryMetadata)
Factory method to create a class wrapping a new TensorSummary operation.
Output<TString>

Inherited Methods

Constants

public static final String OP_NAME

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

Constant Value: "TensorSummaryV2"

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 TensorSummary create (Scope scope, Operand<TString> tag, Operand<? extends TType> tensor, Operand<TString> serializedSummaryMetadata)

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

Parameters
scope current scope
tag A string attached to this summary. Used for organization in TensorBoard.
tensor A tensor to serialize.
serializedSummaryMetadata A serialized SummaryMetadata proto. Contains plugin data.
Returns
  • a new instance of TensorSummary

public Output<TString> summary ()