Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::QuantizeAndDequantizeV4Grad
#include <array_ops.h>
Returns the gradient of QuantizeAndDequantizeV4
.
Summary
Returns a gradient of 1 for inputs that are within the quantization range, or 0 otherwise.
Args:
Returns:
Public static functions
|
Axis(int64 x)
|
|
Public attributes
Public functions
Public static functions
Axis
Attrs Axis(
int64 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 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[],[],null,["# tensorflow::ops::QuantizeAndDequantizeV4Grad Class Reference\n\ntensorflow::ops::QuantizeAndDequantizeV4Grad\n============================================\n\n`#include \u003carray_ops.h\u003e`\n\nReturns the gradient of [QuantizeAndDequantizeV4](/versions/r2.14/api_docs/cc/class/tensorflow/ops/quantize-and-dequantize-v4#classtensorflow_1_1ops_1_1_quantize_and_dequantize_v4).\n\nSummary\n-------\n\nReturns a gradient of 1 for inputs that are within the quantization range, or 0 otherwise.\n\nArgs:\n\n- scope: A [Scope](/versions/r2.14/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.14/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) input_backprop\n- [Output](/versions/r2.14/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) input_min_backprop\n- [Output](/versions/r2.14/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) input_max_backprop\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [QuantizeAndDequantizeV4Grad](#classtensorflow_1_1ops_1_1_quantize_and_dequantize_v4_grad_1a26d0948b45723231583b908e0c9a2a69)`(const ::`[tensorflow::Scope](/versions/r2.14/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` gradients, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input_min, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input_max)` ||\n| [QuantizeAndDequantizeV4Grad](#classtensorflow_1_1ops_1_1_quantize_and_dequantize_v4_grad_1af363a4e4e568742aec3d5dec7fed5f27)`(const ::`[tensorflow::Scope](/versions/r2.14/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` gradients, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input_min, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input_max, const `[QuantizeAndDequantizeV4Grad::Attrs](/versions/r2.14/api_docs/cc/struct/tensorflow/ops/quantize-and-dequantize-v4-grad/attrs#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v4_grad_1_1_attrs)` & attrs)` ||\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|\n| [input_backprop](#classtensorflow_1_1ops_1_1_quantize_and_dequantize_v4_grad_1a9aa34bae5ae453ca0eaac140656047b8) | `::`[tensorflow::Output](/versions/r2.14/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [input_max_backprop](#classtensorflow_1_1ops_1_1_quantize_and_dequantize_v4_grad_1a53d0c27e8250e5c926386053a3cdc617) | `::`[tensorflow::Output](/versions/r2.14/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [input_min_backprop](#classtensorflow_1_1ops_1_1_quantize_and_dequantize_v4_grad_1a51aa85a675987f4e141b4289d070db87) | `::`[tensorflow::Output](/versions/r2.14/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [operation](#classtensorflow_1_1ops_1_1_quantize_and_dequantize_v4_grad_1ab6e9baab3384dedc9b41d13f0469e5d5) | [Operation](/versions/r2.14/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n\n| ### Public static functions ||\n|-------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Axis](#classtensorflow_1_1ops_1_1_quantize_and_dequantize_v4_grad_1a8af4c4b69e85336f269ff298ba777487)`(int64 x)` | [Attrs](/versions/r2.14/api_docs/cc/struct/tensorflow/ops/quantize-and-dequantize-v4-grad/attrs#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v4_grad_1_1_attrs) |\n\n| ### Structs ||\n|------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::QuantizeAndDequantizeV4Grad::Attrs](/versions/r2.14/api_docs/cc/struct/tensorflow/ops/quantize-and-dequantize-v4-grad/attrs) | Optional attribute setters for [QuantizeAndDequantizeV4Grad](/versions/r2.14/api_docs/cc/class/tensorflow/ops/quantize-and-dequantize-v4-grad#classtensorflow_1_1ops_1_1_quantize_and_dequantize_v4_grad). |\n\nPublic attributes\n-----------------\n\n### input_backprop\n\n```scdoc\n::tensorflow::Output input_backprop\n``` \n\n### input_max_backprop\n\n```scdoc\n::tensorflow::Output input_max_backprop\n``` \n\n### input_min_backprop\n\n```scdoc\n::tensorflow::Output input_min_backprop\n``` \n\n### operation\n\n```text\nOperation operation\n``` \n\nPublic functions\n----------------\n\n### QuantizeAndDequantizeV4Grad\n\n```gdscript\n QuantizeAndDequantizeV4Grad(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input gradients,\n ::tensorflow::Input input,\n ::tensorflow::Input input_min,\n ::tensorflow::Input input_max\n)\n``` \n\n### QuantizeAndDequantizeV4Grad\n\n```gdscript\n QuantizeAndDequantizeV4Grad(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input gradients,\n ::tensorflow::Input input,\n ::tensorflow::Input input_min,\n ::tensorflow::Input input_max,\n const QuantizeAndDequantizeV4Grad::Attrs & attrs\n)\n``` \n\nPublic static functions\n-----------------------\n\n### Axis\n\n```text\nAttrs Axis(\n int64 x\n)\n```"]]