tensorflow:: ops:: QuantizeAndDequantizeV3
#include <array_ops.h>
Quantizes then dequantizes a tensor.
Summary
This is almost identical to QuantizeAndDequantizeV2, except that num_bits is a tensor, so its value can change during training.
Args:
- scope: A Scope object
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 |
|
---|---|
operation
|
|
output
|
Public functions |
|
---|---|
node() const
|
::tensorflow::Node *
|
operator::tensorflow::Input() const
|
|
operator::tensorflow::Output() const
|
|
Public static functions |
|
---|---|
Axis(int64 x)
|
|
NarrowRange(bool x)
|
|
RangeGiven(bool x)
|
|
SignedInput(bool x)
|
Structs |
|
---|---|
tensorflow:: |
Optional attribute setters for QuantizeAndDequantizeV3. |
Public attributes
operation
Operation operation
output
::tensorflow::Output output
Public functions
QuantizeAndDequantizeV3
QuantizeAndDequantizeV3( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input input_min, ::tensorflow::Input input_max, ::tensorflow::Input num_bits )
QuantizeAndDequantizeV3
QuantizeAndDequantizeV3( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input input_min, ::tensorflow::Input input_max, ::tensorflow::Input num_bits, const QuantizeAndDequantizeV3::Attrs & attrs )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Public static functions
Axis
Attrs Axis( int64 x )
NarrowRange
Attrs NarrowRange( bool x )
RangeGiven
Attrs RangeGiven( bool x )
SignedInput
Attrs SignedInput( bool x )