टेन्सरफ्लो::ऑप्स::प्रिंट::एट्रिब्यूट्स

#include <logging_ops.h>

प्रिंट के लिए वैकल्पिक विशेषता निर्धारक।

सारांश

सार्वजनिक विशेषताएँ

first_n_ = -1
int64
message_ = ""
StringPiece
summarize_ = 3
int64

सार्वजनिक समारोह

FirstN (int64 x)
TF_MUST_USE_RESULT Attrs
केवल first_n बार लॉग करें।
Message (StringPiece x)
TF_MUST_USE_RESULT Attrs
त्रुटि संदेश का उपसर्ग, एक स्ट्रिंग।
Summarize (int64 x)
TF_MUST_USE_RESULT Attrs
प्रत्येक टेंसर की केवल इतनी ही प्रविष्टियाँ प्रिंट करें।

सार्वजनिक विशेषताएँ

पहला एन_

int64 tensorflow::ops::Print::Attrs::first_n_ = -1

संदेश_

StringPiece tensorflow::ops::Print::Attrs::message_ = ""

सारांशित करें_

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

सार्वजनिक समारोह

पहला एन

TF_MUST_USE_RESULT Attrs tensorflow::ops::Print::Attrs::FirstN(
  int64 x
)

केवल first_n बार लॉग करें।

-1 लॉगिंग को अक्षम करता है।

डिफ़ॉल्ट मान -1 है

संदेश

TF_MUST_USE_RESULT Attrs tensorflow::ops::Print::Attrs::Message(
  StringPiece x
)

त्रुटि संदेश का उपसर्ग, एक स्ट्रिंग।

डिफ़ॉल्ट रूप से ""

सारांशित करें

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

प्रत्येक टेंसर की केवल इतनी ही प्रविष्टियाँ प्रिंट करें।

डिफ़ॉल्ट रूप से 3