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.
Constructors and Destructors
RequantizationRange(const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input input_min, ::tensorflow::Input input_max)
Public attributes
operation
output_max
output_min

Public attributes

operation

Operation operation

output_max

::tensorflow::Output output_max

output_min

::tensorflow::Output output_min

Public functions

RequantizationRange

 RequantizationRange(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input input_min,
  ::tensorflow::Input input_max
)

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/ops/requantization-range