จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: แก้ไขระยะทาง:: คุณสมบัติ
#include <array_ops.h>
ตัวตั้งค่าแอ็ตทริบิวต์ทางเลือกสำหรับ EditDistance
สรุป
งานสาธารณะ |
---|
Normalize (bool x) | บูลีน (หากเป็นจริง ระยะทางที่แก้ไขจะถูกทำให้เป็นมาตรฐานตามความยาวของความจริง) |
คุณลักษณะสาธารณะ
ทำให้เป็นมาตรฐาน_
bool tensorflow::ops::EditDistance::Attrs::normalize_ = true
งานสาธารณะ
ทำให้เป็นมาตรฐาน
TF_MUST_USE_RESULT Attrs tensorflow::ops::EditDistance::Attrs::Normalize(
bool x
)
บูลีน (หากเป็นจริง ระยะทางที่แก้ไขจะถูกทำให้เป็นมาตรฐานตามความยาวของความจริง)
ผลลัพธ์คือ:
ค่าเริ่มต้นเป็นจริง
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[null,null,["อัปเดตล่าสุด 2025-07-27 UTC"],[],[],null,["# tensorflow::ops::EditDistance::Attrs Struct Reference\n\ntensorflow::ops::EditDistance::Attrs\n====================================\n\n`#include \u003carray_ops.h\u003e`\n\nOptional attribute setters for [EditDistance](/versions/r2.2/api_docs/cc/class/tensorflow/ops/edit-distance#classtensorflow_1_1ops_1_1_edit_distance).\n\nSummary\n-------\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------------------------|--------|\n| [normalize_](#structtensorflow_1_1ops_1_1_edit_distance_1_1_attrs_1a8e0d397f56f2b4ea61636081e9ac7480)` = true` | `bool` |\n\n| ### Public functions ||\n|----------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Normalize](#structtensorflow_1_1ops_1_1_edit_distance_1_1_attrs_1a9c625bffe6a1e0f589f77c5e643acfd1)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/edit-distance/attrs#structtensorflow_1_1ops_1_1_edit_distance_1_1_attrs) boolean (if true, edit distances are normalized by length of truth). |\n\nPublic attributes\n-----------------\n\n### normalize_\n\n```scdoc\nbool tensorflow::ops::EditDistance::Attrs::normalize_ = true\n``` \n\nPublic functions\n----------------\n\n### Normalize\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::EditDistance::Attrs::Normalize(\n bool x\n)\n``` \nboolean (if true, edit distances are normalized by length of truth).\n\nThe output is:\n\nDefaults to true"]]