tensorflow:: אופס:: שווה בקירוב:: Attrs
#include <math_ops.h>
קובעי תכונות אופציונליים עבור ApproximateEqual .
תַקצִיר
תכונות ציבוריות | |
---|---|
tolerance_ = 1e-05f | float |
תפקידים ציבוריים | |
---|---|
Tolerance (float x) | TF_MUST_USE_RESULT Attrs ברירת המחדל היא 1e-05. |
תכונות ציבוריות
סוֹבלָנוּת_
float tensorflow::ops::ApproximateEqual::Attrs::tolerance_ = 1e-05f
תפקידים ציבוריים
סוֹבלָנוּת
TF_MUST_USE_RESULT Attrs tensorflow::ops::ApproximateEqual::Attrs::Tolerance( float x )
ברירת המחדל היא 1e-05.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[],[],null,["# tensorflow::ops::ApproximateEqual::Attrs Struct Reference\n\ntensorflow::ops::ApproximateEqual::Attrs\n========================================\n\n`#include \u003cmath_ops.h\u003e`\n\nOptional attribute setters for [ApproximateEqual](/versions/r1.15/api_docs/cc/class/tensorflow/ops/approximate-equal#classtensorflow_1_1ops_1_1_approximate_equal).\n\nSummary\n-------\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------------------------------|---------|\n| [tolerance_](#structtensorflow_1_1ops_1_1_approximate_equal_1_1_attrs_1afe4e052499ed69000fd03088fec5d46d)` = 1e-05f` | `float` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Tolerance](#structtensorflow_1_1ops_1_1_approximate_equal_1_1_attrs_1ad8877143ea4ad04ddf87036bef1c5eac)`(float x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/approximate-equal/attrs#structtensorflow_1_1ops_1_1_approximate_equal_1_1_attrs) Defaults to 1e-05. |\n\nPublic attributes\n-----------------\n\n### tolerance_\n\n```scdoc\nfloat tensorflow::ops::ApproximateEqual::Attrs::tolerance_ = 1e-05f\n``` \n\nPublic functions\n----------------\n\n### Tolerance\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::ApproximateEqual::Attrs::Tolerance(\n float x\n)\n``` \nDefaults to 1e-05."]]