| Modifier and Type | Class and Description |
|---|---|
static class |
StringFormat.Options
Optional attributes for
StringFormat |
operation| Modifier and Type | Method and Description |
|---|---|
Output<String> |
asOutput()
Returns the symbolic handle of a tensor.
|
static StringFormat |
create(Scope scope,
Iterable<Operand<?>> inputs,
StringFormat.Options... options)
Factory method to create a class to wrap a new StringFormat operation to the graph.
|
Output<String> |
output()
= The resulting string scalar.
|
static StringFormat.Options |
placeholder(String placeholder) |
static StringFormat.Options |
summarize(Long summarize) |
static StringFormat.Options |
template(String template) |
equals, hashCode, toStringpublic static StringFormat create(Scope scope, Iterable<Operand<?>> inputs, StringFormat.Options... options)
scope - current graph scopeinputs - The list of tensors to format into the placeholder string.options - carries optional attributes valuespublic static StringFormat.Options template(String template)
template - A string, the template to format tensor summaries into.public static StringFormat.Options placeholder(String placeholder)
placeholder - A string, at each placeholder in the template a subsequent tensor summary will be inserted.public static StringFormat.Options summarize(Long summarize)
summarize - When formatting the tensor summaries print the first and last summarize entries of each tensor dimension.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.