# tf.raw_ops.StringFormat

<br />

Formats a string template using a list of tensors.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.raw_ops.StringFormat`](https://www.tensorflow.org/api_docs/python/tf/raw_ops/StringFormat)

<br />

    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.

<br />

<br />

<br />

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

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A `Tensor` of type `string`. ||

<br />