সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
টেনসরফ্লো :: অপস:: প্রিন্ট:: Attrs
#include <logging_ops.h>
মুদ্রণের জন্য ঐচ্ছিক বৈশিষ্ট্য নির্ধারণকারী।
সারাংশ
পাবলিক ফাংশন |
---|
FirstN (int64 x) | শুধুমাত্র first_n বার বার লগ করুন. |
Message (StringPiece x) | একটি স্ট্রিং, ত্রুটি বার্তার উপসর্গ। |
Summarize (int64 x) | শুধুমাত্র প্রতিটি টেনসরের এই অনেকগুলি এন্ট্রি প্রিন্ট করুন। |
পাবলিক বৈশিষ্ট্য
প্রথম_এন_
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
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# tensorflow::ops::Print::Attrs Struct Reference\n\ntensorflow::ops::Print::Attrs\n=============================\n\n`#include \u003clogging_ops.h\u003e`\n\nOptional attribute setters for [Print](/versions/r2.0/api_docs/cc/class/tensorflow/ops/print#classtensorflow_1_1ops_1_1_print).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------------------|---------------|\n| [first_n_](#structtensorflow_1_1ops_1_1_print_1_1_attrs_1af8f25a20580117a952bad2c9a57d85ac)` = -1` | `int64` |\n| [message_](#structtensorflow_1_1ops_1_1_print_1_1_attrs_1ad56f4fff8a98e993f8d7a4be46c29ece)` = \"\"` | `StringPiece` |\n| [summarize_](#structtensorflow_1_1ops_1_1_print_1_1_attrs_1a265944d8a91cd87abe8dcbddafe2e397)` = 3` | `int64` |\n\n| ### Public functions ||\n|-------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [FirstN](#structtensorflow_1_1ops_1_1_print_1_1_attrs_1ad50937bb415b3f37ec896083ff06233d)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/print/attrs#structtensorflow_1_1ops_1_1_print_1_1_attrs) Only log `first_n` number of times. |\n| [Message](#structtensorflow_1_1ops_1_1_print_1_1_attrs_1aa3075f81bbcad5e3730d0270c1f1f050)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/print/attrs#structtensorflow_1_1ops_1_1_print_1_1_attrs) A string, prefix of the error message. |\n| [Summarize](#structtensorflow_1_1ops_1_1_print_1_1_attrs_1afa5fb4638ead2a216f5dbd69dd88f5f2)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/print/attrs#structtensorflow_1_1ops_1_1_print_1_1_attrs) Only print this many entries of each tensor. |\n\nPublic attributes\n-----------------\n\n### first_n_\n\n```scdoc\nint64 tensorflow::ops::Print::Attrs::first_n_ = -1\n``` \n\n### message_\n\n```scdoc\nStringPiece tensorflow::ops::Print::Attrs::message_ = \"\"\n``` \n\n### summarize_\n\n```scdoc\nint64 tensorflow::ops::Print::Attrs::summarize_ = 3\n``` \n\nPublic functions\n----------------\n\n### FirstN\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::Print::Attrs::FirstN(\n int64 x\n)\n``` \nOnly log `first_n` number of times.\n\n-1 disables logging.\n\nDefaults to -1 \n\n### Message\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::Print::Attrs::Message(\n StringPiece x\n)\n``` \nA string, prefix of the error message.\n\nDefaults to \"\" \n\n### Summarize\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::Print::Attrs::Summarize(\n int64 x\n)\n``` \nOnly print this many entries of each tensor.\n\nDefaults to 3"]]