Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
flux tensoriel : : opérations : : ImprimerV2 : Attributs
#include <logging_ops.h>
Setters d'attributs facultatifs pour PrintV2 .
Résumé
Fonctions publiques |
---|
End (StringPiece x) | La valeur par défaut est "\n". |
OutputStream (StringPiece x) | Une chaîne spécifiant le flux de sortie ou le niveau de journalisation sur lequel imprimer. |
Attributs publics
fin_
StringPiece tensorflow::ops::PrintV2::Attrs::end_ = "\n"
sortie_stream_
StringPiece tensorflow::ops::PrintV2::Attrs::output_stream_ = "stderr"
Fonctions publiques
Fin
TF_MUST_USE_RESULT Attrs tensorflow::ops::PrintV2::Attrs::End(
StringPiece x
)
La valeur par défaut est "\n".
Flux de sortie
TF_MUST_USE_RESULT Attrs tensorflow::ops::PrintV2::Attrs::OutputStream(
StringPiece x
)
Une chaîne spécifiant le flux de sortie ou le niveau de journalisation sur lequel imprimer.
La valeur par défaut est "stderr"
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/26 (UTC).
[null,null,["Dernière mise à jour le 2025/07/26 (UTC)."],[],[],null,["# tensorflow::ops::PrintV2::Attrs Struct Reference\n\ntensorflow::ops::PrintV2::Attrs\n===============================\n\n`#include \u003clogging_ops.h\u003e`\n\nOptional attribute setters for [PrintV2](/versions/r2.2/api_docs/cc/class/tensorflow/ops/print-v2#classtensorflow_1_1ops_1_1_print_v2).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------------------------------|---------------|\n| [end_](#structtensorflow_1_1ops_1_1_print_v2_1_1_attrs_1ac10b313283d5257168d8dc6b2d57d05b)` = \"\\n\"` | `StringPiece` |\n| [output_stream_](#structtensorflow_1_1ops_1_1_print_v2_1_1_attrs_1abd0359af427791696047ce10fe9f7d0c)` = \"stderr\"` | `StringPiece` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [End](#structtensorflow_1_1ops_1_1_print_v2_1_1_attrs_1ac177607fbaa6ba05332cecb2431dc84f)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/print-v2/attrs#structtensorflow_1_1ops_1_1_print_v2_1_1_attrs) Defaults to \"\\\\n\". |\n| [OutputStream](#structtensorflow_1_1ops_1_1_print_v2_1_1_attrs_1a93f32d572e42b2abacef0f940b9fb10b)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/print-v2/attrs#structtensorflow_1_1ops_1_1_print_v2_1_1_attrs) A string specifying the output stream or logging level to print to. |\n\nPublic attributes\n-----------------\n\n### end_\n\n```scdoc\nStringPiece tensorflow::ops::PrintV2::Attrs::end_ = \"\\n\"\n``` \n\n### output_stream_\n\n```scdoc\nStringPiece tensorflow::ops::PrintV2::Attrs::output_stream_ = \"stderr\"\n``` \n\nPublic functions\n----------------\n\n### End\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::PrintV2::Attrs::End(\n StringPiece x\n)\n``` \nDefaults to \"\\\\n\". \n\n### OutputStream\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::PrintV2::Attrs::OutputStream(\n StringPiece x\n)\n``` \nA string specifying the output stream or logging level to print to.\n\nDefaults to \"stderr\""]]