tensorflow:: אופס:: QuantizedRelu6
#include <nn_ops.h>
מחשב Quantized Rectified Linear 6: min(max(features, 0), 6)
תַקצִיר
טיעונים:
- scope: אובייקט Scope
- min_features: הערך הצף שהערך הקוונטי הנמוך ביותר מייצג.
- max_features: הערך הצף שהערך הקוונטי הגבוה ביותר מייצג.
החזרות:
- הפעלות
Output
: בעלת צורת פלט זהה ל"תכונות". -
Output
min_activations: הערך הצף שהערך המקוונטי הנמוך ביותר מייצג. -
Output
max_activations: הערך הצף שהערך המקוונטי הגבוה ביותר מייצג.
בנאים והורסים | |
---|---|
QuantizedRelu6 (const :: tensorflow::Scope & scope, :: tensorflow::Input features, :: tensorflow::Input min_features, :: tensorflow::Input max_features) | |
QuantizedRelu6 (const :: tensorflow::Scope & scope, :: tensorflow::Input features, :: tensorflow::Input min_features, :: tensorflow::Input max_features, const QuantizedRelu6::Attrs & attrs) |
תכונות ציבוריות | |
---|---|
activations | |
max_activations | |
min_activations | |
operation |
פונקציות סטטיות ציבוריות | |
---|---|
OutType (DataType x) |
מבנים | |
---|---|
tensorflow:: ops:: QuantizedRelu6:: Attrs | קובעי תכונות אופציונליים עבור QuantizedRelu6 . |
תכונות ציבוריות
הפעלות
::tensorflow::Output activations
max_activations
::tensorflow::Output max_activations
min_activations
::tensorflow::Output min_activations
מִבצָע
Operation operation
תפקידים ציבוריים
QuantizedRelu6
QuantizedRelu6( const ::tensorflow::Scope & scope, ::tensorflow::Input features, ::tensorflow::Input min_features, ::tensorflow::Input max_features )
QuantizedRelu6
QuantizedRelu6( const ::tensorflow::Scope & scope, ::tensorflow::Input features, ::tensorflow::Input min_features, ::tensorflow::Input max_features, const QuantizedRelu6::Attrs & attrs )
פונקציות סטטיות ציבוריות
OutType
Attrs OutType( DataType x )
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון 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::QuantizedRelu6 Class Reference\n\ntensorflow::ops::QuantizedRelu6\n===============================\n\n`#include \u003cnn_ops.h\u003e`\n\nComputes Quantized Rectified Linear 6: `min(max(features, 0), 6)`\n\nSummary\n-------\n\nArguments:\n\n- scope: A [Scope](/versions/r2.2/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- min_features: The float value that the lowest quantized value represents.\n- max_features: The float value that the highest quantized value represents.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) activations: Has the same output shape as \"features\".\n- [Output](/versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) min_activations: The float value that the lowest quantized value represents.\n- [Output](/versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) max_activations: The float value that the highest quantized value represents.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [QuantizedRelu6](#classtensorflow_1_1ops_1_1_quantized_relu6_1a878166661980db1eef4b8c9d50fc30bd)`(const ::`[tensorflow::Scope](/versions/r2.2/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` features, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min_features, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` max_features)` ||\n| [QuantizedRelu6](#classtensorflow_1_1ops_1_1_quantized_relu6_1a0b98f095d6d5b347b4c2dcc3a01e8ec2)`(const ::`[tensorflow::Scope](/versions/r2.2/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` features, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min_features, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` max_features, const `[QuantizedRelu6::Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/quantized-relu6/attrs#structtensorflow_1_1ops_1_1_quantized_relu6_1_1_attrs)` & attrs)` ||\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [activations](#classtensorflow_1_1ops_1_1_quantized_relu6_1a0195a63b71b99cf501ef199e1268ff86) | `::`[tensorflow::Output](/versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [max_activations](#classtensorflow_1_1ops_1_1_quantized_relu6_1a6f102937d57571fa7694537be05d453b) | `::`[tensorflow::Output](/versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [min_activations](#classtensorflow_1_1ops_1_1_quantized_relu6_1a7f0565bd18f8a108c1bddef3b8fc547b) | `::`[tensorflow::Output](/versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [operation](#classtensorflow_1_1ops_1_1_quantized_relu6_1a90c72f4f64dfe25a7764d19e04acda03) | [Operation](/versions/r2.2/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n\n| ### Public static functions ||\n|---------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|\n| [OutType](#classtensorflow_1_1ops_1_1_quantized_relu6_1af73914317d242138de7fb5ac4d3faaa1)`(DataType x)` | [Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/quantized-relu6/attrs#structtensorflow_1_1ops_1_1_quantized_relu6_1_1_attrs) |\n\n| ### Structs ||\n|------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::QuantizedRelu6::Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/quantized-relu6/attrs) | Optional attribute setters for [QuantizedRelu6](/versions/r2.2/api_docs/cc/class/tensorflow/ops/quantized-relu6#classtensorflow_1_1ops_1_1_quantized_relu6). |\n\nPublic attributes\n-----------------\n\n### activations\n\n```text\n::tensorflow::Output activations\n``` \n\n### max_activations\n\n```scdoc\n::tensorflow::Output max_activations\n``` \n\n### min_activations\n\n```scdoc\n::tensorflow::Output min_activations\n``` \n\n### operation\n\n```text\nOperation operation\n``` \n\nPublic functions\n----------------\n\n### QuantizedRelu6\n\n```gdscript\n QuantizedRelu6(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input features,\n ::tensorflow::Input min_features,\n ::tensorflow::Input max_features\n)\n``` \n\n### QuantizedRelu6\n\n```gdscript\n QuantizedRelu6(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input features,\n ::tensorflow::Input min_features,\n ::tensorflow::Input max_features,\n const QuantizedRelu6::Attrs & attrs\n)\n``` \n\nPublic static functions\n-----------------------\n\n### OutType\n\n```text\nAttrs OutType(\n DataType x\n)\n```"]]