Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::
ops::
QuantizedInstanceNorm::
Attrs
#include <array_ops.h>
Optional attribute setters for
QuantizedInstanceNorm
.
Summary
Public attributes
given_y_max_
float tensorflow::ops::QuantizedInstanceNorm::Attrs::given_y_max_ = 0.0f
given_y_min_
float tensorflow::ops::QuantizedInstanceNorm::Attrs::given_y_min_ = 0.0f
min_separation_
float tensorflow::ops::QuantizedInstanceNorm::Attrs::min_separation_ = 0.001f
output_range_given_
bool tensorflow::ops::QuantizedInstanceNorm::Attrs::output_range_given_ = false
variance_epsilon_
float tensorflow::ops::QuantizedInstanceNorm::Attrs::variance_epsilon_ = 1e-05f
Public functions
GivenYMax
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedInstanceNorm::Attrs::GivenYMax(
float x
)
Output
in
y_max
if
output_range_given
is True.
Defaults to 0
GivenYMin
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedInstanceNorm::Attrs::GivenYMin(
float x
)
Output
in
y_min
if
output_range_given
is True.
Defaults to 0
MinSeparation
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedInstanceNorm::Attrs::MinSeparation(
float x
)
Minimum
value of
y_max - y_min
Defaults to 0.001
OutputRangeGiven
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedInstanceNorm::Attrs::OutputRangeGiven(
bool x
)
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.
Defaults to false
VarianceEpsilon
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedInstanceNorm::Attrs::VarianceEpsilon(
float x
)
A small float number to avoid dividing by 0.
Defaults to 1e-05
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. Some content is licensed under the numpy license.
Last updated 2021-08-16 UTC.
[null,null,["Last updated 2021-08-16 UTC."],[],[],null,["# tensorflow::ops::QuantizedInstanceNorm::Attrs Struct Reference\n\ntensorflow::\nops::\nQuantizedInstanceNorm::\nAttrs\n================================================\n\n`\n#include \u003carray_ops.h\u003e\n`\n\n\nOptional attribute setters for\n[QuantizedInstanceNorm](/versions/r2.6/api_docs/cc/class/tensorflow/ops/quantized-instance-norm#classtensorflow_1_1ops_1_1_quantized_instance_norm)\n.\n\nSummary\n-------\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------------------------------------------------|-----------|\n| ` `[given_y_max_](#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs_1a143f0f1661df75a9345104b53d2a23a1)` = 0.0f ` | ` float ` |\n| ` `[given_y_min_](#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs_1a66a475c41d1d5351475d1b41f4c722b9)` = 0.0f ` | ` float ` |\n| ` `[min_separation_](#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs_1a02e61831bb492f7e82ab72cfdd164bcd)` = 0.001f ` | ` float ` |\n| ` `[output_range_given_](#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs_1a90012c405dc0d5545b200b2a7ca74651)` = false ` | ` bool ` |\n| ` `[variance_epsilon_](#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs_1a3eb30df9c538c1316ba64edd59220592)` = 1e-05f ` | ` float ` |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` `[GivenYMax](#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs_1a553ab19eaa986e91efec9bcac303ae9b)` (float x) ` | ` TF_MUST_USE_RESULT `[Attrs](/versions/r2.6/api_docs/cc/struct/tensorflow/ops/quantized-instance-norm/attrs#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs)` ` [Output](/versions/r2.6/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) in ` y_max ` if ` output_range_given ` is True. |\n| ` `[GivenYMin](#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs_1a05f250f2de55e37648933a2b078bb1db)` (float x) ` | ` TF_MUST_USE_RESULT `[Attrs](/versions/r2.6/api_docs/cc/struct/tensorflow/ops/quantized-instance-norm/attrs#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs)` ` [Output](/versions/r2.6/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) in ` y_min ` if ` output_range_given ` is True. |\n| ` `[MinSeparation](#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs_1a990577e61d1a959e6b16f31deeef2ac3)` (float x) ` | ` TF_MUST_USE_RESULT `[Attrs](/versions/r2.6/api_docs/cc/struct/tensorflow/ops/quantized-instance-norm/attrs#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs)` ` [Minimum](/versions/r2.6/api_docs/cc/class/tensorflow/ops/minimum#classtensorflow_1_1ops_1_1_minimum) value of ` y_max - y_min ` |\n| ` `[OutputRangeGiven](#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs_1a7715dcb9ec54a1cd7e45f9a30d1bd226)` (bool x) ` | ` TF_MUST_USE_RESULT `[Attrs](/versions/r2.6/api_docs/cc/struct/tensorflow/ops/quantized-instance-norm/attrs#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs)` ` If True, ` given_y_min ` and ` given_y_min ` and ` given_y_max ` are used as the output range. |\n| ` `[VarianceEpsilon](#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs_1abee47b20aa34a84940f8449f1c4179b2)` (float x) ` | ` TF_MUST_USE_RESULT `[Attrs](/versions/r2.6/api_docs/cc/struct/tensorflow/ops/quantized-instance-norm/attrs#structtensorflow_1_1ops_1_1_quantized_instance_norm_1_1_attrs)` ` A small float number to avoid dividing by 0. |\n\nPublic attributes\n-----------------\n\n### given_y_max_\n\n```scdoc\nfloat tensorflow::ops::QuantizedInstanceNorm::Attrs::given_y_max_ = 0.0f\n``` \n\n### given_y_min_\n\n```scdoc\nfloat tensorflow::ops::QuantizedInstanceNorm::Attrs::given_y_min_ = 0.0f\n``` \n\n### min_separation_\n\n```scdoc\nfloat tensorflow::ops::QuantizedInstanceNorm::Attrs::min_separation_ = 0.001f\n``` \n\n### output_range_given_\n\n```scdoc\nbool tensorflow::ops::QuantizedInstanceNorm::Attrs::output_range_given_ = false\n``` \n\n### variance_epsilon_\n\n```gdscript\nfloat tensorflow::ops::QuantizedInstanceNorm::Attrs::variance_epsilon_ = 1e-05f\n``` \n\nPublic functions\n----------------\n\n### GivenYMax\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedInstanceNorm::Attrs::GivenYMax(\n float x\n)\n``` \n\n[Output](/versions/r2.6/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output)\nin\n`\ny_max\n`\nif\n`\noutput_range_given\n`\nis True.\n\n\nDefaults to 0 \n\n### GivenYMin\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedInstanceNorm::Attrs::GivenYMin(\n float x\n)\n``` \n\n[Output](/versions/r2.6/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output)\nin\n`\ny_min\n`\nif\n`\noutput_range_given\n`\nis True.\n\n\nDefaults to 0 \n\n### MinSeparation\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedInstanceNorm::Attrs::MinSeparation(\n float x\n)\n``` \n\n[Minimum](/versions/r2.6/api_docs/cc/class/tensorflow/ops/minimum#classtensorflow_1_1ops_1_1_minimum)\nvalue of\n`\ny_max - y_min\n`\n\n\nDefaults to 0.001 \n\n### OutputRangeGiven\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedInstanceNorm::Attrs::OutputRangeGiven(\n bool x\n)\n``` \n\nIf True,\n`\ngiven_y_min\n`\nand\n`\ngiven_y_min\n`\nand\n`\ngiven_y_max\n`\nare used as the output range.\n\n\nOtherwise, the implementation computes the output range.\n\n\nDefaults to false \n\n### VarianceEpsilon\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedInstanceNorm::Attrs::VarianceEpsilon(\n float x\n)\n``` \n\nA small float number to avoid dividing by 0.\n\n\nDefaults to 1e-05"]]