tensorflow:: אופס:: OneHot:: Attrs
#include <array_ops.h>
קובעי תכונות אופציונליים עבור OneHot .
תַקצִיר
תכונות ציבוריות | |
---|---|
axis_ = -1 | int64 |
תפקידים ציבוריים | |
---|---|
Axis (int64 x) | TF_MUST_USE_RESULT Attrs הציר למילוי (ברירת מחדל: -1, ציר פנימי חדש). |
תכונות ציבוריות
צִיר_
int64 tensorflow::ops::OneHot::Attrs::axis_ = -1
תפקידים ציבוריים
צִיר
TF_MUST_USE_RESULT Attrs tensorflow::ops::OneHot::Attrs::Axis( int64 x )
הציר למילוי (ברירת מחדל: -1, ציר פנימי חדש).
ברירת המחדל היא -1
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[],[],null,["# tensorflow::ops::OneHot::Attrs Struct Reference\n\ntensorflow::ops::OneHot::Attrs\n==============================\n\n`#include \u003carray_ops.h\u003e`\n\nOptional attribute setters for [OneHot](/versions/r2.3/api_docs/cc/class/tensorflow/ops/one-hot#classtensorflow_1_1ops_1_1_one_hot).\n\nSummary\n-------\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------------------|---------|\n| [axis_](#structtensorflow_1_1ops_1_1_one_hot_1_1_attrs_1a2652b47252da31a8ca3eff67d677ccc4)` = -1` | `int64` |\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Axis](#structtensorflow_1_1ops_1_1_one_hot_1_1_attrs_1afc9b5c290d8fefa2f67f82b640d27ab9)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/one-hot/attrs#structtensorflow_1_1ops_1_1_one_hot_1_1_attrs) The axis to fill (default: -1, a new inner-most axis). |\n\nPublic attributes\n-----------------\n\n### axis_\n\n```scdoc\nint64 tensorflow::ops::OneHot::Attrs::axis_ = -1\n``` \n\nPublic functions\n----------------\n\n### Axis\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::OneHot::Attrs::Axis(\n int64 x\n)\n``` \nThe axis to fill (default: -1, a new inner-most axis).\n\nDefaults to -1"]]