จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: StringToNumber:: คุณสมบัติ
#include <parsing_ops.h>
ตัวตั้งค่าแอ็ตทริบิวต์ทางเลือกสำหรับ StringToNumber
สรุป
คุณลักษณะสาธารณะ |
---|
out_type_ = DT_FLOAT | DataType |
งานสาธารณะ |
---|
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-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 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/r2.1/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/r2.1/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"]]