Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
flux tensoriel : : opérations : : ImprimerV2
#include <logging_ops.h>
Imprime une chaîne scalaire.
Résumé
Imprime une chaîne scalaire dans le flux_sortie souhaité.
Arguments :
- scope : un objet Scope
- input : la chaîne scalaire à imprimer.
Attributs facultatifs (voir Attrs
) :
- output_stream : une chaîne spécifiant le flux de sortie ou le niveau de journalisation sur lequel imprimer.
Retours :
Fonctions statiques publiques |
---|
End (StringPiece x) | |
OutputStream (StringPiece x) | |
Attributs publics
Fonctions publiques
opérateur :: tensorflow :: Opération
operator::tensorflow::Operation() const
Fonctions statiques publiques
Fin
Attrs End(
StringPiece x
)
Flux de sortie
Attrs OutputStream(
StringPiece x
)
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/27 (UTC).
[null,null,["Dernière mise à jour le 2025/07/27 (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.0/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.0/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.0/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.0/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.0/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.0/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.0/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input, const `[PrintV2::Attrs](/versions/r2.0/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.0/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.0/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.0/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.0/api_docs/cc/struct/tensorflow/ops/print-v2/attrs) | Optional attribute setters for [PrintV2](/versions/r2.0/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```"]]