tf.raw_ops.StringFormat

robots: noindex

Formats a string template using a list of tensors.

Formats a string template using a list of tensors, pretty-printing tensor summaries.

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).

A Tensor of type string.