コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
テンソルフロー::作戦::文字列と数値::属性
#include <parsing_ops.h>
StringToNumberのオプションの属性セッター。
まとめ
公共機能 |
---|
OutType (DataType x) | string_tensor の各文字列を解釈する数値型。 |
パブリック属性
out_type_
DataType tensorflow::ops::StringToNumber::Attrs::out_type_ = DT_FLOAT
公共機能
出力タイプ
TF_MUST_USE_RESULT Attrs tensorflow::ops::StringToNumber::Attrs::OutType(
DataType x
)
string_tensor
の各文字列を解釈する数値型。
デフォルトは DT_FLOAT です
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-28 UTC。
[null,null,["最終更新日 2025-07-28 UTC。"],[],[],null,["# tensorflow::ops::StringToNumber::Attrs Struct Reference\n\ntensorflow::ops::StringToNumber::Attrs\n======================================\n\n`#include \u003cparsing_ops.h\u003e`\n\nOptional attribute setters for [StringToNumber](/versions/r1.15/api_docs/cc/class/tensorflow/ops/string-to-number#classtensorflow_1_1ops_1_1_string_to_number).\n\nSummary\n-------\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------------------------------|------------|\n| [out_type_](#structtensorflow_1_1ops_1_1_string_to_number_1_1_attrs_1a7c2aaeddf561bc69e4d64e95fbedb825)` = DT_FLOAT` | `DataType` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [OutType](#structtensorflow_1_1ops_1_1_string_to_number_1_1_attrs_1a2ee0ca8b95677dc82c729a454bba9613)`(DataType x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/string-to-number/attrs#structtensorflow_1_1ops_1_1_string_to_number_1_1_attrs) The numeric type to interpret each string in `string_tensor` as. |\n\nPublic attributes\n-----------------\n\n### out_type_\n\n```carbon\nDataType tensorflow::ops::StringToNumber::Attrs::out_type_ = DT_FLOAT\n``` \n\nPublic functions\n----------------\n\n### OutType\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::StringToNumber::Attrs::OutType(\n DataType x\n)\n``` \nThe numeric type to interpret each string in `string_tensor` as.\n\nDefaults to DT_FLOAT"]]