tensorflow:: אופס:: EditDistance:: Attrs
#include <array_ops.h>
קובעי תכונות אופציונליים עבור EditDistance .
תַקצִיר
תכונות ציבוריות | |
---|---|
normalize_ = true | bool |
תפקידים ציבוריים | |
---|---|
Normalize (bool x) | TF_MUST_USE_RESULT Attrs בוליאני (אם נכון, מרחקי העריכה מנורמלים לפי אורך האמת). |
תכונות ציבוריות
לנרמל_
bool tensorflow::ops::EditDistance::Attrs::normalize_ = true
תפקידים ציבוריים
נרמל
TF_MUST_USE_RESULT Attrs tensorflow::ops::EditDistance::Attrs::Normalize( bool x )
בוליאני (אם נכון, מרחקי העריכה מנורמלים לפי אורך האמת).
הפלט הוא:
ברירת המחדל לאמת
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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"]]