Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::PrintV2::Attrs
#include <logging_ops.h>
Optional attribute setters for PrintV2.
Summary
Public functions
|
End(StringPiece x)
|
Defaults to "\\n".
|
OutputStream(StringPiece x)
|
A string specifying the output stream or logging level to print to.
|
Public attributes
end_
StringPiece tensorflow::ops::PrintV2::Attrs::end_ = "\\n"
output_stream_
StringPiece tensorflow::ops::PrintV2::Attrs::output_stream_ = "stderr"
Public functions
End
TF_MUST_USE_RESULT Attrs tensorflow::ops::PrintV2::Attrs::End(
StringPiece x
)
OutputStream
TF_MUST_USE_RESULT Attrs tensorflow::ops::PrintV2::Attrs::OutputStream(
StringPiece x
)
A string specifying the output stream or logging level to print to.
Defaults to "stderr"
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2023-03-27 UTC.
[null,null,["Last updated 2023-03-27 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.12/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.12/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.12/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\""]]