tensorflow::ops::QuantizeAndDequantizeV3
#include <array_ops.h>
Квантует, а затем деквантует тензор.
Краткое описание
Это почти идентично QuantizeAndDequantizeV2, за исключением того, что num_bits является тензором, поэтому его значение может изменяться во время обучения.
Аргументы:
- scope: Объект Scope
Возвращаемое значение:
-
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) |
| Общедоступные атрибуты | |
|---|---|
operation | |
output | |
| Общедоступные функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
| Общедоступные статические функции | |
|---|---|
Axis(int64 x) | |
NarrowRange(bool x) | |
RangeGiven(bool x) | |
SignedInput(bool x) | |
| Структуры | |
|---|---|
| tensorflow::ops::QuantizeAndDequantizeV3::Attrs | Дополнительные параметры для настройки QuantizeAndDequantizeV3. |
Общедоступные атрибуты
operation
Operation operation
output
::tensorflow::Output output
Общедоступные функции
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
Общедоступные статические функции
Axis
Attrs Axis( int64 x )
УзкийДиапазон
Attrs NarrowRange( bool x )
ДиапазонУказан
Attrs RangeGiven( bool x )
ВходнойЗнак
Attrs SignedInput( bool x )
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/class/tensorflow/ops/quantize-and-dequantize-v3