Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
tensor akışı:: işlem:: YazdırV2
#include <logging_ops.h>
Bir dize skaler yazdırır.
Özet
İstenilen çıktı_akışına bir dize skaler yazdırır.
Argümanlar:
- kapsam: Bir Kapsam nesnesi
- giriş: Yazdırılacak dize skaler.
İsteğe bağlı özellikler (bkz. Attrs
):
- çıktı_akımı: Yazdırılacak çıktı akışını veya günlük kaydını belirten bir dize.
İade:
Genel özellikler
Kamu işlevleri
operatör::tensorflow::İşlem
operator::tensorflow::Operation() const
Genel statik işlevler
Son
Attrs End(
StringPiece x
)
Çıkış Akışı
Attrs OutputStream(
StringPiece x
)
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-26 UTC."],[],[],null,["# tensorflow::ops::PrintV2 Class Reference\n\ntensorflow::ops::PrintV2\n========================\n\n`#include \u003clogging_ops.h\u003e`\n\nPrints a string scalar.\n\nSummary\n-------\n\nPrints a string scalar to the desired output_stream.\n\nArguments:\n\n- scope: A [Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- input: The string scalar to print.\n\n\u003cbr /\u003e\n\nOptional attributes (see [Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/print-v2/attrs#structtensorflow_1_1ops_1_1_print_v2_1_1_attrs)):\n\n- output_stream: A string specifying the output stream or logging level to print to.\n\n\u003cbr /\u003e\n\nReturns:\n\n- the created [Operation](/versions/r2.1/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation)\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [PrintV2](#classtensorflow_1_1ops_1_1_print_v2_1a393f67a5391f338d8e3fc19569ba4459)`(const ::`[tensorflow::Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input)` ||\n| [PrintV2](#classtensorflow_1_1ops_1_1_print_v2_1ad9ecc820cf2a86447d7ddd6b25d9a8bd)`(const ::`[tensorflow::Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input, const `[PrintV2::Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/print-v2/attrs#structtensorflow_1_1ops_1_1_print_v2_1_1_attrs)` & attrs)` ||\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_print_v2_1a9a1413e54679233c6d74b835e575f5da) | [Operation](/versions/r2.1/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n\n| ### Public functions ||\n|-----------------------------------------------------------------------------------------------------------------------|---------|\n| [operator::tensorflow::Operation](#classtensorflow_1_1ops_1_1_print_v2_1afa90ca91f2d7ecab65f37d5a94dac85b)`() const ` | ` ` ` ` |\n\n| ### Public static functions ||\n|----------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------|\n| [End](#classtensorflow_1_1ops_1_1_print_v2_1a2d4c2e84f84215b9d18cc46c7806d5a5)`(StringPiece x)` | [Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/print-v2/attrs#structtensorflow_1_1ops_1_1_print_v2_1_1_attrs) |\n| [OutputStream](#classtensorflow_1_1ops_1_1_print_v2_1ab139b92d03800230ff3f84b1395ae0af)`(StringPiece x)` | [Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/print-v2/attrs#structtensorflow_1_1ops_1_1_print_v2_1_1_attrs) |\n\n| ### Structs ||\n|----------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::PrintV2::Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/print-v2/attrs) | Optional attribute setters for [PrintV2](/versions/r2.1/api_docs/cc/class/tensorflow/ops/print-v2#classtensorflow_1_1ops_1_1_print_v2). |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\nPublic functions\n----------------\n\n### PrintV2\n\n```gdscript\n PrintV2(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input input\n)\n``` \n\n### PrintV2\n\n```gdscript\n PrintV2(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input input,\n const PrintV2::Attrs & attrs\n)\n``` \n\n### operator::tensorflow::Operation\n\n```gdscript\n operator::tensorflow::Operation() const \n``` \n\nPublic static functions\n-----------------------\n\n### End\n\n```text\nAttrs End(\n StringPiece x\n)\n``` \n\n### OutputStream\n\n```text\nAttrs OutputStream(\n StringPiece x\n)\n```"]]