Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::RequantizationRange
#include <math_ops.h>
Computes a range that covers the actual values present in a quantized tensor.
Summary
Given a quantized tensor described by (input, input_min, input_max)
, outputs a range that covers the actual values present in that tensor. This op is typically used to produce the requested_output_min
and requested_output_max
for Requantize
.
Arguments:
- scope: A Scope object
- input_min: The float value that the minimum quantized input value represents.
- input_max: The float value that the maximum quantized input value represents.
Returns:
Output
output_min: The computed min output.
Output
output_max: the computed max output.
Public attributes
Public functions
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::RequantizationRange Class Reference\n\ntensorflow::ops::RequantizationRange\n====================================\n\n`#include \u003cmath_ops.h\u003e`\n\nComputes a range that covers the actual values present in a quantized tensor.\n\nSummary\n-------\n\nGiven a quantized tensor described by `(input, input_min, input_max)`, outputs a range that covers the actual values present in that tensor. This op is typically used to produce the `requested_output_min` and `requested_output_max` for [Requantize](/versions/r1.15/api_docs/cc/class/tensorflow/ops/requantize#classtensorflow_1_1ops_1_1_requantize).\n\nArguments:\n\n- scope: A [Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- input_min: The float value that the minimum quantized input value represents.\n- input_max: The float value that the maximum quantized input value represents.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) output_min: The computed min output.\n- [Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) output_max: the computed max output.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [RequantizationRange](#classtensorflow_1_1ops_1_1_requantization_range_1a4d54c3391bd95eedc608f03b3aed9c30)`(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)` input, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input_min, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input_max)` ||\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_requantization_range_1afed0a008f6d5039ad8b33ae859d0c4e3) | [Operation](/versions/r1.15/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [output_max](#classtensorflow_1_1ops_1_1_requantization_range_1a5908cd7341e67e52ce19e4ed8663965f) | `::`[tensorflow::Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [output_min](#classtensorflow_1_1ops_1_1_requantization_range_1a85e00a462564fca8261bab66f911c54a) | `::`[tensorflow::Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\n### output_max\n\n```scdoc\n::tensorflow::Output output_max\n``` \n\n### output_min\n\n```scdoc\n::tensorflow::Output output_min\n``` \n\nPublic functions\n----------------\n\n### RequantizationRange\n\n```gdscript\n RequantizationRange(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input input,\n ::tensorflow::Input input_min,\n ::tensorflow::Input input_max\n)\n```"]]