تينسورفلو :: العمليات :: تنسيق StringFormat :: أترس

#include <string_ops.h>

محددات السمات الاختيارية لـ StringFormat .

ملخص

السمات العامة

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

الوظائف العامة

Placeholder (StringPiece x)
TF_MUST_USE_RESULT Attrs
سلسلة ، في كل عنصر نائب في القالب سيتم إدراج ملخص موتر لاحق.
Summarize (int64 x)
TF_MUST_USE_RESULT Attrs
عند تنسيق ملخصات الموتر ، قم بطباعة أول وآخر تلخيص لإدخالات كل بعد موتر.
Template (StringPiece x)
TF_MUST_USE_RESULT Attrs
سلسلة ، القالب المطلوب تنسيق ملخصات الموتر فيه.

السمات العامة

نائب_

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

لخص_

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

قالب_

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

الوظائف العامة

عنصر نائب

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

سلسلة ، في كل عنصر نائب في القالب سيتم إدراج ملخص موتر لاحق.

افتراضات إلى "٪ s"

لخص

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

عند تنسيق ملخصات الموتر ، قم بطباعة أول وآخر تلخيص لإدخالات كل بعد موتر.

افتراضات إلى 3

قالب

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

سلسلة ، القالب المطلوب تنسيق ملخصات الموتر فيه.

افتراضات على "٪ s"