#include <array_ops.h>
Quantizes then dequantizes a tensor.
This is almost identical to QuantizeAndDequantizeV2, except that num_bits is a tensor, so its value can change during training.
Arguments:
Returns:
Output
: The output tensor. Constructors and Destructors | |
---|---|
QuantizeAndDequantizeV3(const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input input_min, ::tensorflow::Input input_max, ::tensorflow::Input num_bits) | |
QuantizeAndDequantizeV3(const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input input_min, ::tensorflow::Input input_max, ::tensorflow::Input num_bits, const QuantizeAndDequantizeV3::Attrs & attrs) |
Public attributes | |
---|---|
output |
Public functions | |
---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const |
Public static functions | |
---|---|
RangeGiven(bool x) | |
SignedInput(bool x) |
Structs | |
---|---|
tensorflow::ops::QuantizeAndDequantizeV3::Attrs | Optional attribute setters for QuantizeAndDequantizeV3. |
::tensorflow::Output output
QuantizeAndDequantizeV3( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input input_min, ::tensorflow::Input input_max, ::tensorflow::Input num_bits )
QuantizeAndDequantizeV3( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input input_min, ::tensorflow::Input input_max, ::tensorflow::Input num_bits, const QuantizeAndDequantizeV3::Attrs & attrs )
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Attrs RangeGiven( bool x )
Attrs SignedInput( bool x )
© 2017 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/quantize-and-dequantize-v3.html