จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: อาร์กแม็กซ์:: คุณสมบัติ
#include <math_ops.h>
ตัวตั้งค่าแอ็ตทริบิวต์ทางเลือกสำหรับ ArgMax
สรุป
งานสาธารณะ |
---|
OutputType (DataType x) | ค่าเริ่มต้นเป็น DT_INT64 |
คุณลักษณะสาธารณะ
เอาท์พุท_ประเภท_
DataType tensorflow::ops::ArgMax::Attrs::output_type_ = DT_INT64
งานสาธารณะ
ประเภทเอาต์พุต
TF_MUST_USE_RESULT Attrs tensorflow::ops::ArgMax::Attrs::OutputType(
DataType x
)
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[null,null,["อัปเดตล่าสุด 2025-07-27 UTC"],[],[],null,["# tensorflow::ops::ArgMax::Attrs Struct Reference\n\ntensorflow::ops::ArgMax::Attrs\n==============================\n\n`#include \u003cmath_ops.h\u003e`\n\nOptional attribute setters for [ArgMax](/versions/r2.2/api_docs/cc/class/tensorflow/ops/arg-max#classtensorflow_1_1ops_1_1_arg_max).\n\nSummary\n-------\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------------------------|------------|\n| [output_type_](#structtensorflow_1_1ops_1_1_arg_max_1_1_attrs_1aa0f5dc123c2fb5f528a34ff3c6a52e5c)` = DT_INT64` | `DataType` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [OutputType](#structtensorflow_1_1ops_1_1_arg_max_1_1_attrs_1acc4b21fbfb4825556649b2fbd61c866c)`(DataType x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/arg-max/attrs#structtensorflow_1_1ops_1_1_arg_max_1_1_attrs) Defaults to DT_INT64. |\n\nPublic attributes\n-----------------\n\n### output_type_\n\n```carbon\nDataType tensorflow::ops::ArgMax::Attrs::output_type_ = DT_INT64\n``` \n\nPublic functions\n----------------\n\n### OutputType\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::ArgMax::Attrs::OutputType(\n DataType x\n)\n``` \nDefaults to DT_INT64."]]