@Operator public final class TensorSummary extends PrimitiveOp implements Operand<String>
This op is being phased out in favor of TensorSummaryV2, 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.
| Modifier and Type | Class and Description |
|---|---|
static class |
TensorSummary.Options
Optional attributes for
TensorSummary |
operation| Modifier and Type | Method and Description |
|---|---|
Output<String> |
asOutput()
Returns the symbolic handle of a tensor.
|
static <T> TensorSummary |
create(Scope scope,
Operand<T> tensor,
TensorSummary.Options... options)
Factory method to create a class to wrap a new TensorSummary operation to the graph.
|
static TensorSummary.Options |
description(String description) |
static TensorSummary.Options |
displayName(String displayName) |
static TensorSummary.Options |
labels(List<String> labels) |
Output<String> |
summary() |
equals, hashCode, toStringpublic static <T> TensorSummary create(Scope scope, Operand<T> tensor, TensorSummary.Options... options)
scope - current graph scopetensor - A tensor to serialize.options - carries optional attributes valuespublic static TensorSummary.Options description(String description)
description - A json-encoded SummaryDescription proto.public static TensorSummary.Options labels(List<String> labels)
labels - An unused list of strings.public static TensorSummary.Options displayName(String displayName)
displayName - An unused string.public Output<String> asOutput()
OperandInputs 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.
asOutput in interface Operand<String>OperationBuilder.addInput(Output)Copyright © 2015–2019. All rights reserved.