จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: หล่อ:: คุณสมบัติ
#include <math_ops.h>
ตัวตั้งค่าแอตทริบิวต์เพิ่มเติมสำหรับ Cast
สรุป
งานสาธารณะ |
---|
Truncate (bool x) | ค่าเริ่มต้นเป็นเท็จ |
คุณลักษณะสาธารณะ
ตัด_
bool tensorflow::ops::Cast::Attrs::Truncate_ = false
งานสาธารณะ
ตัด
TF_MUST_USE_RESULT Attrs tensorflow::ops::Cast::Attrs::Truncate(
bool x
)
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[],[],null,["# tensorflow::ops::Cast::Attrs Struct Reference\n\ntensorflow::ops::Cast::Attrs\n============================\n\n`#include \u003cmath_ops.h\u003e`\n\nOptional attribute setters for [Cast](/versions/r1.15/api_docs/cc/class/tensorflow/ops/cast#classtensorflow_1_1ops_1_1_cast).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------------------|--------|\n| [Truncate_](#structtensorflow_1_1ops_1_1_cast_1_1_attrs_1ab3c35dcc1573db2c72a9357c741c4e6e)` = false` | `bool` |\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Truncate](#structtensorflow_1_1ops_1_1_cast_1_1_attrs_1a1f874413618cb9ba3d302e9f5795ed9f)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/cast/attrs#structtensorflow_1_1ops_1_1_cast_1_1_attrs) Defaults to false. |\n\nPublic attributes\n-----------------\n\n### Truncate_\n\n```scdoc\nbool tensorflow::ops::Cast::Attrs::Truncate_ = false\n``` \n\nPublic functions\n----------------\n\n### Truncate\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::Cast::Attrs::Truncate(\n bool x\n)\n``` \nDefaults to false."]]