@Operator(group="summary") public final class ScalarSummary extends PrimitiveOp implements Operand<String>
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`.
operation
Modifier and Type | Method and Description |
---|---|
Output<String> |
asOutput()
Returns the symbolic handle of a tensor.
|
static <T extends Number> |
create(Scope scope,
Operand<String> tags,
Operand<T> values)
Factory method to create a class wrapping a new ScalarSummary operation.
|
Output<String> |
summary()
Scalar.
|
equals, hashCode, op, toString
public static <T extends Number> ScalarSummary create(Scope scope, Operand<String> tags, Operand<T> values)
scope
- current scopetags
- Tags for the summary.values
- Same shape as `tags. Values for the summary.public Output<String> asOutput()
Operand
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.
asOutput
in interface Operand<String>
OperationBuilder.addInput(Output)
Copyright © 2022. All rights reserved.