tensorflow::ops::StringFormat::Attrs

#include <string_ops.h>

Optional attribute setters for StringFormat.

Summary

Public attributes

placeholder_ = "%s"
StringPiece
summarize_ = 3
int64
template_ = "%s"
StringPiece

Public functions

Placeholder(StringPiece x)
TF_MUST_USE_RESULT Attrs
A string, at each placeholder in the template a subsequent tensor summary will be inserted.
Summarize(int64 x)
TF_MUST_USE_RESULT Attrs
When formatting the tensor summaries print the first and last summarize entries of each tensor dimension.
Template(StringPiece x)
TF_MUST_USE_RESULT Attrs
A string, the template to format tensor summaries into.

Public attributes

placeholder_

StringPiece tensorflow::ops::StringFormat::Attrs::placeholder_ = "%s"

summarize_

int64 tensorflow::ops::StringFormat::Attrs::summarize_ = 3

template_

StringPiece tensorflow::ops::StringFormat::Attrs::template_ = "%s"

Public functions

Placeholder

TF_MUST_USE_RESULT Attrs tensorflow::ops::StringFormat::Attrs::Placeholder(
  StringPiece x
)

A string, at each placeholder in the template a subsequent tensor summary will be inserted.

Defaults to "%s"

Summarize

TF_MUST_USE_RESULT Attrs tensorflow::ops::StringFormat::Attrs::Summarize(
  int64 x
)

When formatting the tensor summaries print the first and last summarize entries of each tensor dimension.

Defaults to 3

Template

TF_MUST_USE_RESULT Attrs tensorflow::ops::StringFormat::Attrs::Template(
  StringPiece x
)

A string, the template to format tensor summaries into.

Defaults to "%s"