Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::QuantizeAndDequantizeV3::Attrs
#include <array_ops.h>
Optional attribute setters for QuantizeAndDequantizeV3.
Summary
Public attributes
axis_
int64 tensorflow::ops::QuantizeAndDequantizeV3::Attrs::axis_ = -1
narrow_range_
bool tensorflow::ops::QuantizeAndDequantizeV3::Attrs::narrow_range_ = false
range_given_
bool tensorflow::ops::QuantizeAndDequantizeV3::Attrs::range_given_ = true
bool tensorflow::ops::QuantizeAndDequantizeV3::Attrs::signed_input_ = true
Public functions
Axis
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeAndDequantizeV3::Attrs::Axis(
int64 x
)
NarrowRange
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeAndDequantizeV3::Attrs::NarrowRange(
bool x
)
RangeGiven
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeAndDequantizeV3::Attrs::RangeGiven(
bool x
)
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeAndDequantizeV3::Attrs::SignedInput(
bool 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. Some content is licensed under the numpy license.
Last updated 2021-11-15 UTC.
[null,null,["Last updated 2021-11-15 UTC."],[],[],null,["# tensorflow::ops::QuantizeAndDequantizeV3::Attrs Struct Reference\n\ntensorflow::ops::QuantizeAndDequantizeV3::Attrs\n===============================================\n\n`#include \u003carray_ops.h\u003e`\n\nOptional attribute setters for [QuantizeAndDequantizeV3](/api_docs/cc/class/tensorflow/ops/quantize-and-dequantize-v3#classtensorflow_1_1ops_1_1_quantize_and_dequantize_v3).\n\nSummary\n-------\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------------------------------------------------|---------|\n| [axis_](#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs_1a29b1985e5b5d174f94fae92c18f5e7ee)` = -1` | `int64` |\n| [narrow_range_](#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs_1a1f6a8c31c6a18ce2f0b1ccddab714d68)` = false` | `bool` |\n| [range_given_](#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs_1a65ec5c6031f64ee60003df0c32818878)` = true` | `bool` |\n| [signed_input_](#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs_1afa9ac30e490c09a96faf215645f0e008)` = true` | `bool` |\n\n| ### Public functions ||\n|-------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Axis](#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs_1a5a7176c17a58da234fb603229a2eb5a9)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/api_docs/cc/struct/tensorflow/ops/quantize-and-dequantize-v3/attrs#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs) Defaults to -1. |\n| [NarrowRange](#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs_1a75850c802d097420673c0cec01cf1c3f)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/api_docs/cc/struct/tensorflow/ops/quantize-and-dequantize-v3/attrs#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs) Defaults to false. |\n| [RangeGiven](#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs_1a9b65091fe5e629a43bbfea0d6716cf50)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/api_docs/cc/struct/tensorflow/ops/quantize-and-dequantize-v3/attrs#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs) Defaults to true. |\n| [SignedInput](#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs_1a9feb1c381a12febda27ee0e5f00705d5)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/api_docs/cc/struct/tensorflow/ops/quantize-and-dequantize-v3/attrs#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs) Defaults to true. |\n\nPublic attributes\n-----------------\n\n### axis_\n\n```scdoc\nint64 tensorflow::ops::QuantizeAndDequantizeV3::Attrs::axis_ = -1\n``` \n\n### narrow_range_\n\n```scdoc\nbool tensorflow::ops::QuantizeAndDequantizeV3::Attrs::narrow_range_ = false\n``` \n\n### range_given_\n\n```scdoc\nbool tensorflow::ops::QuantizeAndDequantizeV3::Attrs::range_given_ = true\n``` \n\n### signed_input_\n\n```scdoc\nbool tensorflow::ops::QuantizeAndDequantizeV3::Attrs::signed_input_ = true\n``` \n\nPublic functions\n----------------\n\n### Axis\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeAndDequantizeV3::Attrs::Axis(\n int64 x\n)\n``` \nDefaults to -1. \n\n### NarrowRange\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeAndDequantizeV3::Attrs::NarrowRange(\n bool x\n)\n``` \nDefaults to false. \n\n### RangeGiven\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeAndDequantizeV3::Attrs::RangeGiven(\n bool x\n)\n``` \nDefaults to true. \n\n### SignedInput\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeAndDequantizeV3::Attrs::SignedInput(\n bool x\n)\n``` \nDefaults to true."]]