Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
tensor akışı:: işlem:: QuantizeAndDequantizeV3
#include <array_ops.h>
Bir tensörü kuantize eder ve ardından dekuantize eder.
Özet
Bu, num_bits'in bir tensör olması dışında QuantizeAndDequantizeV2 ile neredeyse aynıdır, dolayısıyla değeri eğitim sırasında değişebilir.
Argümanlar:
İade:
Genel özellikler
Kamu işlevleri
düğüm
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operatör::tensorflow::Çıktı
operator::tensorflow::Output() const
Genel statik işlevler
Eksen
Attrs Axis(
int64 x
)
Dar Aralık
Attrs NarrowRange(
bool x
)
Verilen Aralık
Attrs RangeGiven(
bool x
)
Attrs SignedInput(
bool x
)
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-26 UTC."],[],[],null,["# tensorflow::ops::QuantizeAndDequantizeV3 Class Reference\n\ntensorflow::ops::QuantizeAndDequantizeV3\n========================================\n\n`#include \u003carray_ops.h\u003e`\n\nQuantizes then dequantizes a tensor.\n\nSummary\n-------\n\nThis is almost identical to [QuantizeAndDequantizeV2](/versions/r2.1/api_docs/cc/class/tensorflow/ops/quantize-and-dequantize-v2#classtensorflow_1_1ops_1_1_quantize_and_dequantize_v2), except that num_bits is a tensor, so its value can change during training.\n\nArguments:\n\n- scope: A [Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.1/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): The output tensor.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [QuantizeAndDequantizeV3](#classtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1a2b0da7dac824893b88830e315543a00d)`(const ::`[tensorflow::Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input, ::`[tensorflow::Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input_min, ::`[tensorflow::Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input_max, ::`[tensorflow::Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` num_bits)` ||\n| [QuantizeAndDequantizeV3](#classtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1a5ec28b67b64ef7a45785390e91042d6d)`(const ::`[tensorflow::Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input, ::`[tensorflow::Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input_min, ::`[tensorflow::Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input_max, ::`[tensorflow::Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` num_bits, const `[QuantizeAndDequantizeV3::Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/quantize-and-dequantize-v3/attrs#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs)` & attrs)` ||\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1a8aa70ba4802094bc7d64cf7c38915301) | [Operation](/versions/r2.1/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [output](#classtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1a237fd659faaa4a2508a141f02bd2fda1) | `::`[tensorflow::Output](/versions/r2.1/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1a2fe42b89b1a1a5d4a9e2e772624f3859)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1a315fb3b3e2ca6a75ed7d8e22d90b4086)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1a7bcde8fb5d1f0e0285a036916e243aab)`() const ` | ` ` ` ` |\n\n| ### Public static functions ||\n|--------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Axis](#classtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1a83628e2124fba6f4c409c65419bb09c7)`(int64 x)` | [Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/quantize-and-dequantize-v3/attrs#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs) |\n| [NarrowRange](#classtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1aba70d8cb905c10f26973de277469bdea)`(bool x)` | [Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/quantize-and-dequantize-v3/attrs#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs) |\n| [RangeGiven](#classtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1ab62c72984150a3a4ed4feffb9fa6ec95)`(bool x)` | [Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/quantize-and-dequantize-v3/attrs#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs) |\n| [SignedInput](#classtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1af8150be09574c209bb7af62829d2518c)`(bool x)` | [Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/quantize-and-dequantize-v3/attrs#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs) |\n\n| ### Structs ||\n|--------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::QuantizeAndDequantizeV3::Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/quantize-and-dequantize-v3/attrs) | Optional attribute setters for [QuantizeAndDequantizeV3](/versions/r2.1/api_docs/cc/class/tensorflow/ops/quantize-and-dequantize-v3#classtensorflow_1_1ops_1_1_quantize_and_dequantize_v3). |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\n### output\n\n```text\n::tensorflow::Output output\n``` \n\nPublic functions\n----------------\n\n### QuantizeAndDequantizeV3\n\n```gdscript\n QuantizeAndDequantizeV3(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input input,\n ::tensorflow::Input input_min,\n ::tensorflow::Input input_max,\n ::tensorflow::Input num_bits\n)\n``` \n\n### QuantizeAndDequantizeV3\n\n```gdscript\n QuantizeAndDequantizeV3(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input input,\n ::tensorflow::Input input_min,\n ::tensorflow::Input input_max,\n ::tensorflow::Input num_bits,\n const QuantizeAndDequantizeV3::Attrs & attrs\n)\n``` \n\n### node\n\n```gdscript\n::tensorflow::Node * node() const \n``` \n\n### operator::tensorflow::Input\n\n```gdscript\n operator::tensorflow::Input() const \n``` \n\n### operator::tensorflow::Output\n\n```gdscript\n operator::tensorflow::Output() const \n``` \n\nPublic static functions\n-----------------------\n\n### Axis\n\n```text\nAttrs Axis(\n int64 x\n)\n``` \n\n### NarrowRange\n\n```text\nAttrs NarrowRange(\n bool x\n)\n``` \n\n### RangeGiven\n\n```text\nAttrs RangeGiven(\n bool x\n)\n``` \n\n### SignedInput\n\n```text\nAttrs SignedInput(\n bool x\n)\n```"]]