Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::QuantizedInstanceNorm
#include <array_ops.h>
Quantized Instance normalization.
Summary
Arguments:
- scope: A Scope object
- x: A 4D input Tensor.
- x_min: The value represented by the lowest quantized input.
- x_max: The value represented by the highest quantized input.
Optional attributes (see Attrs
):
- 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.
- given_y_min: Output in
y_min
if output_range_given
is True.
- given_y_max: Output in
y_max
if output_range_given
is True.
- variance_epsilon: A small float number to avoid dividing by 0.
- min_separation: Minimum value of
y_max - y_min
Returns:
Output
y: A 4D Tensor.
Output
y_min: The value represented by the lowest quantized output.
Output
y_max: The value represented by the highest quantized output.
Public attributes
Public functions
Public static functions
GivenYMax
Attrs GivenYMax(
float x
)
GivenYMin
Attrs GivenYMin(
float x
)
MinSeparation
Attrs MinSeparation(
float x
)
OutputRangeGiven
Attrs OutputRangeGiven(
bool x
)
VarianceEpsilon
Attrs VarianceEpsilon(
float x
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-04-20 UTC.
[null,null,["Last updated 2020-04-20 UTC."],[],[],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```"]]