コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
テンソルフロー::作戦::編集距離::属性
#include <array_ops.h>
EditDistanceのオプションの属性セッター。
まとめ
公共機能 |
---|
Normalize (bool x) | ブール値 (true の場合、編集距離は真実の長さによって正規化されます)。 |
パブリック属性
ノーマライズ_
bool tensorflow::ops::EditDistance::Attrs::normalize_ = true
公共機能
ノーマライズ
TF_MUST_USE_RESULT Attrs tensorflow::ops::EditDistance::Attrs::Normalize(
bool x
)
ブール値 (true の場合、編集距離は真実の長さによって正規化されます)。
出力は次のとおりです。
デフォルトは true
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 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"]]