จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: แยกส่วน:: คุณสมบัติ
#include <array_ops.h>
ตัวตั้งค่าแอ็ตทริบิวต์ทางเลือกสำหรับ Dequantize
สรุป
งานสาธารณะ |
---|
Axis (int64 x) | ค่าเริ่มต้นเป็น -1 |
Dtype (DataType x) | ประเภทของเทนเซอร์เอาท์พุต |
Mode (StringPiece x) | ค่าเริ่มต้นคือ "MIN_COMBINED" |
NarrowRange (bool x) | ค่าเริ่มต้นเป็นเท็จ |
คุณลักษณะสาธารณะ
แกน_
int64 tensorflow::ops::Dequantize::Attrs::axis_ = -1
ประเภท_
DataType tensorflow::ops::Dequantize::Attrs::dtype_ = DT_FLOAT
โหมด_
StringPiece tensorflow::ops::Dequantize::Attrs::mode_ = "MIN_COMBINED"
แคบ_ช่วง_
bool tensorflow::ops::Dequantize::Attrs::narrow_range_ = false
งานสาธารณะ
แกน
TF_MUST_USE_RESULT Attrs tensorflow::ops::Dequantize::Attrs::Axis(
int64 x
)
ประเภทD
TF_MUST_USE_RESULT Attrs tensorflow::ops::Dequantize::Attrs::Dtype(
DataType x
)
ประเภทของเทนเซอร์เอาท์พุต
ปัจจุบัน Dequantize รองรับ float และ bfloat16 หาก 'dtype' เป็น 'bfloat16' จะรองรับเฉพาะโหมด 'MIN_COMBINED' เท่านั้น
ค่าเริ่มต้นเป็น DT_FLOAT
โหมด
TF_MUST_USE_RESULT Attrs tensorflow::ops::Dequantize::Attrs::Mode(
StringPiece x
)
ค่าเริ่มต้นคือ "MIN_COMBINED"
ช่วงแคบ
TF_MUST_USE_RESULT Attrs tensorflow::ops::Dequantize::Attrs::NarrowRange(
bool x
)
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[null,null,["อัปเดตล่าสุด 2025-07-27 UTC"],[],[],null,["# tensorflow::ops::Dequantize::Attrs Struct Reference\n\ntensorflow::ops::Dequantize::Attrs\n==================================\n\n`#include \u003carray_ops.h\u003e`\n\nOptional attribute setters for [Dequantize](/versions/r2.3/api_docs/cc/class/tensorflow/ops/dequantize#classtensorflow_1_1ops_1_1_dequantize).\n\nSummary\n-------\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------------------------------------------|---------------|\n| [axis_](#structtensorflow_1_1ops_1_1_dequantize_1_1_attrs_1af432ad7e9303ee6c76c19a9afda0ca89)` = -1` | `int64` |\n| [dtype_](#structtensorflow_1_1ops_1_1_dequantize_1_1_attrs_1a68b0e8b37645f29a888b531684cff039)` = DT_FLOAT` | `DataType` |\n| [mode_](#structtensorflow_1_1ops_1_1_dequantize_1_1_attrs_1a2e72e17bf315adb13470a951b4e0ae05)` = \"MIN_COMBINED\"` | `StringPiece` |\n| [narrow_range_](#structtensorflow_1_1ops_1_1_dequantize_1_1_attrs_1a945ba2aa0ec8debc8651c5452262189b)` = false` | `bool` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Axis](#structtensorflow_1_1ops_1_1_dequantize_1_1_attrs_1a419b6b66d5587f5528fc9515d9fff5aa)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/dequantize/attrs#structtensorflow_1_1ops_1_1_dequantize_1_1_attrs) Defaults to -1. |\n| [Dtype](#structtensorflow_1_1ops_1_1_dequantize_1_1_attrs_1ab247f7c724a2428f98ebb271428dc842)`(DataType x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/dequantize/attrs#structtensorflow_1_1ops_1_1_dequantize_1_1_attrs) Type of the output tensor. |\n| [Mode](#structtensorflow_1_1ops_1_1_dequantize_1_1_attrs_1a5d92cbf9b00f4a13f79095f6921bff33)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/dequantize/attrs#structtensorflow_1_1ops_1_1_dequantize_1_1_attrs) Defaults to \"MIN_COMBINED\". |\n| [NarrowRange](#structtensorflow_1_1ops_1_1_dequantize_1_1_attrs_1acb7be40f55b2d45f7169ba175baf77c4)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/dequantize/attrs#structtensorflow_1_1ops_1_1_dequantize_1_1_attrs) Defaults to false. |\n\nPublic attributes\n-----------------\n\n### axis_\n\n```scdoc\nint64 tensorflow::ops::Dequantize::Attrs::axis_ = -1\n``` \n\n### dtype_\n\n```carbon\nDataType tensorflow::ops::Dequantize::Attrs::dtype_ = DT_FLOAT\n``` \n\n### mode_\n\n```scdoc\nStringPiece tensorflow::ops::Dequantize::Attrs::mode_ = \"MIN_COMBINED\"\n``` \n\n### narrow_range_\n\n```scdoc\nbool tensorflow::ops::Dequantize::Attrs::narrow_range_ = false\n``` \n\nPublic functions\n----------------\n\n### Axis\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::Dequantize::Attrs::Axis(\n int64 x\n)\n``` \nDefaults to -1. \n\n### Dtype\n\n```carbon\nTF_MUST_USE_RESULT Attrs tensorflow::ops::Dequantize::Attrs::Dtype(\n DataType x\n)\n``` \nType of the output tensor.\n\nCurrently [Dequantize](/versions/r2.3/api_docs/cc/class/tensorflow/ops/dequantize#classtensorflow_1_1ops_1_1_dequantize) supports float and bfloat16. If 'dtype' is 'bfloat16', it only supports 'MIN_COMBINED' mode.\n\nDefaults to DT_FLOAT \n\n### Mode\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::Dequantize::Attrs::Mode(\n StringPiece x\n)\n``` \nDefaults to \"MIN_COMBINED\". \n\n### NarrowRange\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::Dequantize::Attrs::NarrowRange(\n bool x\n)\n``` \nDefaults to false."]]