จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: QuantizedMatMul:: คุณสมบัติ
#include <math_ops.h>
ตัวตั้งค่าคุณลักษณะเสริมสำหรับ QuantizedMatMul
สรุป
งานสาธารณะ |
---|
Tactivation (DataType x) | ประเภทของเอาต์พุตที่สร้างโดยฟังก์ชันการเปิดใช้งานหลังจากการดำเนินการนี้ |
Toutput (DataType x) | ค่าเริ่มต้นคือ DT_QINT32 |
TransposeA (bool x) | ถ้าเป็นจริง a จะถูกย้ายก่อนการคูณ |
TransposeB (bool x) | ถ้าเป็นจริง b จะถูกย้ายก่อนการคูณ |
คุณลักษณะสาธารณะ
การเปิดใช้งาน_
DataType tensorflow::ops::QuantizedMatMul::Attrs::Tactivation_ = DT_QUINT8
พูดโน้มน้าว_
DataType tensorflow::ops::QuantizedMatMul::Attrs::Toutput_ = DT_QINT32
ย้าย_a_
bool tensorflow::ops::QuantizedMatMul::Attrs::transpose_a_ = false
ย้าย_b_
bool tensorflow::ops::QuantizedMatMul::Attrs::transpose_b_ = false
งานสาธารณะ
การเปิดใช้งาน
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedMatMul::Attrs::Tactivation(
DataType x
)
ประเภทของเอาต์พุตที่สร้างโดยฟังก์ชันการเปิดใช้งานหลังจากการดำเนินการนี้
ค่าเริ่มต้นเป็น DT_QUINT8
พูดจาโผงผาง
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedMatMul::Attrs::Toutput(
DataType x
)
ย้ายA
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedMatMul::Attrs::TransposeA(
bool x
)
ถ้าเป็นจริง a
จะถูกย้ายก่อนการคูณ
ค่าเริ่มต้นเป็นเท็จ
ทรานโพสบี
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedMatMul::Attrs::TransposeB(
bool x
)
ถ้าเป็นจริง b
จะถูกย้ายก่อนการคูณ
ค่าเริ่มต้นเป็นเท็จ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[],[],null,["# tensorflow::ops::QuantizedMatMul::Attrs Struct Reference\n\ntensorflow::ops::QuantizedMatMul::Attrs\n=======================================\n\n`#include \u003cmath_ops.h\u003e`\n\nOptional attribute setters for [QuantizedMatMul](/versions/r1.15/api_docs/cc/class/tensorflow/ops/quantized-mat-mul#classtensorflow_1_1ops_1_1_quantized_mat_mul).\n\nSummary\n-------\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------------------------------------------|------------|\n| [Tactivation_](#structtensorflow_1_1ops_1_1_quantized_mat_mul_1_1_attrs_1a4ec61ca1633c71f9778635daa7a1891a)` = DT_QUINT8` | `DataType` |\n| [Toutput_](#structtensorflow_1_1ops_1_1_quantized_mat_mul_1_1_attrs_1a2d64400431cee46f3b2f01ebce918312)` = DT_QINT32` | `DataType` |\n| [transpose_a_](#structtensorflow_1_1ops_1_1_quantized_mat_mul_1_1_attrs_1a5be09bd03f0fdf0b4e57cb33664361e8)` = false` | `bool` |\n| [transpose_b_](#structtensorflow_1_1ops_1_1_quantized_mat_mul_1_1_attrs_1a633d7f13c23dea40282a3b296d7f996c)` = false` | `bool` |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Tactivation](#structtensorflow_1_1ops_1_1_quantized_mat_mul_1_1_attrs_1a6e5cb6be951ef2554cc04296ad0bffad)`(DataType x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-mat-mul/attrs#structtensorflow_1_1ops_1_1_quantized_mat_mul_1_1_attrs) The type of output produced by activation function following this operation. |\n| [Toutput](#structtensorflow_1_1ops_1_1_quantized_mat_mul_1_1_attrs_1af3a761ecd8ebc7dad74137b6a11e172f)`(DataType x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-mat-mul/attrs#structtensorflow_1_1ops_1_1_quantized_mat_mul_1_1_attrs) Defaults to DT_QINT32. |\n| [TransposeA](#structtensorflow_1_1ops_1_1_quantized_mat_mul_1_1_attrs_1a960ecd4efbd8278fac1812933e2ec61a)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-mat-mul/attrs#structtensorflow_1_1ops_1_1_quantized_mat_mul_1_1_attrs) If true, `a` is transposed before multiplication. |\n| [TransposeB](#structtensorflow_1_1ops_1_1_quantized_mat_mul_1_1_attrs_1af6da7dd47a4cd0b885ee662f29745f93)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-mat-mul/attrs#structtensorflow_1_1ops_1_1_quantized_mat_mul_1_1_attrs) If true, `b` is transposed before multiplication. |\n\nPublic attributes\n-----------------\n\n### Tactivation_\n\n```scdoc\nDataType tensorflow::ops::QuantizedMatMul::Attrs::Tactivation_ = DT_QUINT8\n``` \n\n### Toutput_\n\n```scdoc\nDataType tensorflow::ops::QuantizedMatMul::Attrs::Toutput_ = DT_QINT32\n``` \n\n### transpose_a_\n\n```scdoc\nbool tensorflow::ops::QuantizedMatMul::Attrs::transpose_a_ = false\n``` \n\n### transpose_b_\n\n```scdoc\nbool tensorflow::ops::QuantizedMatMul::Attrs::transpose_b_ = false\n``` \n\nPublic functions\n----------------\n\n### Tactivation\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedMatMul::Attrs::Tactivation(\n DataType x\n)\n``` \nThe type of output produced by activation function following this operation.\n\nDefaults to DT_QUINT8 \n\n### Toutput\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedMatMul::Attrs::Toutput(\n DataType x\n)\n``` \nDefaults to DT_QINT32. \n\n### TransposeA\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedMatMul::Attrs::TransposeA(\n bool x\n)\n``` \nIf true, `a` is transposed before multiplication.\n\nDefaults to false \n\n### TransposeB\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedMatMul::Attrs::TransposeB(\n bool x\n)\n``` \nIf true, `b` is transposed before multiplication.\n\nDefaults to false"]]