tf.raw_ops.StringFormat
Formats a string template using a list of tensors.
tf.raw_ops.StringFormat(
inputs,
template='%s',
placeholder='%s',
summarize=3,
name=None
)
Formats a string template using a list of tensors, pretty-printing tensor summaries.
Args |
inputs
|
A list of Tensor objects.
The list of tensors to format into the placeholder string.
|
template
|
An optional string . Defaults to "%s" .
A string, the template to format tensor summaries into.
|
placeholder
|
An optional string . Defaults to "%s" .
A string, at each placeholder in the template a subsequent tensor summary will be inserted.
|
summarize
|
An optional int . Defaults to 3 .
When formatting the tensor summaries print the first and last summarize entries of each tensor dimension.
|
name
|
A name for the operation (optional).
|
Returns |
A Tensor of type string .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2024-01-23 UTC.
[null,null,["Last updated 2024-01-23 UTC."],[],[]]