تدفق التوتر:: العمليات:: QuantizedInstanceNorm
#include <array_ops.h>
تطبيع المثيل الكمي.
ملخص
الحجج:
- النطاق: كائن النطاق
- x: موتر إدخال رباعي الأبعاد.
- x_min: القيمة التي يمثلها أدنى مدخل كمي.
- x_max: القيمة التي يمثلها أعلى مدخل كمي.
السمات الاختيارية (انظر Attrs
):
- output_range_given: إذا كان صحيحًا، فسيتم استخدام
given_y_min
وgiven_y_min
وgiven_y_max
كنطاق الإخراج. وبخلاف ذلك، يحسب التنفيذ نطاق الإخراج. - أعطيت_y_min: الإخراج في
y_min
إذا كانتoutput_range_given
صحيحة. - أعطيت_y_max: الإخراج في
y_max
إذا كانتoutput_range_given
صحيحة. - variance_epsilon: رقم عائم صغير لتجنب القسمة على 0.
- min_separation: الحد الأدنى لقيمة
y_max - y_min
العوائد:
-
Output
ذ: موتر رباعي الأبعاد. -
Output
y_min: القيمة التي يمثلها الناتج الكمي الأدنى. -
Output
y_max: القيمة التي يمثلها أعلى إخراج كمي.
البنائين والمدمرين | |
---|---|
QuantizedInstanceNorm (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input x_min, :: tensorflow::Input x_max) | |
QuantizedInstanceNorm (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input x_min, :: tensorflow::Input x_max, const QuantizedInstanceNorm::Attrs & attrs) |
الصفات العامة | |
---|---|
operation | |
y | |
y_max | |
y_min |
وظائف ثابتة العامة | |
---|---|
GivenYMax (float x) | |
GivenYMin (float x) | |
MinSeparation (float x) | |
OutputRangeGiven (bool x) | |
VarianceEpsilon (float x) |
الهياكل | |
---|---|
Tensorflow:: ops:: QuantizedInstanceNorm:: Attrs | محددات السمات الاختيارية لـ QuantizedInstanceNorm . |
الصفات العامة
عملية
Operation operation
ذ
::tensorflow::Output y
y_max
::tensorflow::Output y_max
y_min
::tensorflow::Output y_min
الوظائف العامة
QuantizedInstanceNorm
QuantizedInstanceNorm( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input x_min, ::tensorflow::Input x_max )
QuantizedInstanceNorm
QuantizedInstanceNorm( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input x_min, ::tensorflow::Input x_max, const QuantizedInstanceNorm::Attrs & attrs )
وظائف ثابتة العامة
جيفينYMax
Attrs GivenYMax( float x )
جيفينYMin
Attrs GivenYMin( float x )
MinSeparation
Attrs MinSeparation( float x )
OutputRangeGiven
Attrs OutputRangeGiven( bool x )
التباين إبسيلون
Attrs VarianceEpsilon( float x )
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["# tensorflow::ops::QuantizedInstanceNorm Class Reference\n\ntensorflow::ops::QuantizedInstanceNorm\n======================================\n\n`#include \u003carray_ops.h\u003e`\n\nQuantized Instance normalization.\n\nSummary\n-------\n\nArguments:\n\n- scope: A [Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- x: A 4D input [Tensor](/versions/r1.15/api_docs/cc/class/tensorflow/tensor#classtensorflow_1_1_tensor).\n- x_min: The value represented by the lowest quantized input.\n- x_max: The value represented by the highest quantized input.\n\n\u003cbr /\u003e\n\nOptional attributes (see [Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-instance-norm/attrs#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs)):\n\n- output_range_given: If True, `given_y_min` and `given_y_min` and `given_y_max` are used as the output range. Otherwise, the implementation computes the output range.\n- given_y_min: [Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) in `y_min` if `output_range_given` is True.\n- given_y_max: [Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) in `y_max` if `output_range_given` is True.\n- variance_epsilon: A small float number to avoid dividing by 0.\n- min_separation: [Minimum](/versions/r1.15/api_docs/cc/class/tensorflow/ops/minimum#classtensorflow_1_1ops_1_1_minimum) value of `y_max - y_min`\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) y: A 4D [Tensor](/versions/r1.15/api_docs/cc/class/tensorflow/tensor#classtensorflow_1_1_tensor).\n- [Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) y_min: The value represented by the lowest quantized output.\n- [Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) y_max: The value represented by the highest quantized output.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [QuantizedInstanceNorm](#classtensorflow_1_1ops_1_1_quantized_instance_norm_1a66f14d43d5a9459d866db037f7bb4906)`(const ::`[tensorflow::Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` x, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` x_min, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` x_max)` ||\n| [QuantizedInstanceNorm](#classtensorflow_1_1ops_1_1_quantized_instance_norm_1ac70831b63384f7e34a878a00fccc1b5e)`(const ::`[tensorflow::Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` x, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` x_min, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` x_max, const `[QuantizedInstanceNorm::Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-instance-norm/attrs#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs)` & attrs)` ||\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_quantized_instance_norm_1a9c16e83b751d6d10a6bca12d0abb615f) | [Operation](/versions/r1.15/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [y](#classtensorflow_1_1ops_1_1_quantized_instance_norm_1ad70ba4eba105fb7eae8362df8a2cfccd) | `::`[tensorflow::Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [y_max](#classtensorflow_1_1ops_1_1_quantized_instance_norm_1a9ecfdc7d60f12b5439992b5e0e9d70bf) | `::`[tensorflow::Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [y_min](#classtensorflow_1_1ops_1_1_quantized_instance_norm_1a4e52b8d2fb01146563d0679d4b72dcb7) | `::`[tensorflow::Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public static functions ||\n|----------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [GivenYMax](#classtensorflow_1_1ops_1_1_quantized_instance_norm_1ab8f1ad838d1814616fbd34a0c34cfc00)`(float x)` | [Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-instance-norm/attrs#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs) |\n| [GivenYMin](#classtensorflow_1_1ops_1_1_quantized_instance_norm_1a59f4f357b2be2e533c5e60801d978170)`(float x)` | [Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-instance-norm/attrs#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs) |\n| [MinSeparation](#classtensorflow_1_1ops_1_1_quantized_instance_norm_1a971e6b0a27bdc399ed7e5d9837dcbe39)`(float x)` | [Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-instance-norm/attrs#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs) |\n| [OutputRangeGiven](#classtensorflow_1_1ops_1_1_quantized_instance_norm_1a8b157c23eb87cca9013c02ae6cadb1a6)`(bool x)` | [Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-instance-norm/attrs#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs) |\n| [VarianceEpsilon](#classtensorflow_1_1ops_1_1_quantized_instance_norm_1ad19d246905b047dfa2a65bd7bb7fd601)`(float x)` | [Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-instance-norm/attrs#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs) |\n\n| ### Structs ||\n|----------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::QuantizedInstanceNorm::Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-instance-norm/attrs) | Optional attribute setters for [QuantizedInstanceNorm](/versions/r1.15/api_docs/cc/class/tensorflow/ops/quantized-instance-norm#classtensorflow_1_1ops_1_1_quantized_instance_norm). |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\n### y\n\n```text\n::tensorflow::Output y\n``` \n\n### y_max\n\n```scdoc\n::tensorflow::Output y_max\n``` \n\n### y_min\n\n```scdoc\n::tensorflow::Output y_min\n``` \n\nPublic functions\n----------------\n\n### QuantizedInstanceNorm\n\n```gdscript\n QuantizedInstanceNorm(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input x,\n ::tensorflow::Input x_min,\n ::tensorflow::Input x_max\n)\n``` \n\n### QuantizedInstanceNorm\n\n```gdscript\n QuantizedInstanceNorm(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input x,\n ::tensorflow::Input x_min,\n ::tensorflow::Input x_max,\n const QuantizedInstanceNorm::Attrs & attrs\n)\n``` \n\nPublic static functions\n-----------------------\n\n### GivenYMax\n\n```text\nAttrs GivenYMax(\n float x\n)\n``` \n\n### GivenYMin\n\n```text\nAttrs GivenYMin(\n float x\n)\n``` \n\n### MinSeparation\n\n```text\nAttrs MinSeparation(\n float x\n)\n``` \n\n### OutputRangeGiven\n\n```text\nAttrs OutputRangeGiven(\n bool x\n)\n``` \n\n### VarianceEpsilon\n\n```text\nAttrs VarianceEpsilon(\n float x\n)\n```"]]