W3cubDocs

/TensorFlow C++

tensorflow::ops::RequantizationRange

#include <math_ops.h>

Given a quantized tensor described by (input, input_min, input_max), outputs a.

Summary

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
output_max
output_min

Public attributes

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
)

© 2018 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/api_docs/cc/class/tensorflow/ops/requantization-range.html