tensorflow::ops::FakeQuantWithMinMaxVarsGradient::Attrs
#include <array_ops.h>
Дополнительные атрибуты для FakeQuantWithMinMaxVarsGradient.
Краткое описание
| Общедоступные атрибуты | |
|---|---|
narrow_range_ = false | bool |
num_bits_ = 8 | int64 |
| Общедоступные функции | |
|---|---|
NarrowRange(bool x) | TF_MUST_USE_RESULT Attrs Определяет, квантировать ли значения в 2^num_bits - 1 различных значений. |
NumBits(int64 x) | TF_MUST_USE_RESULT Attrs Разрядность квантования; от 2 до 8 включительно. |
Общедоступные атрибуты
narrow_range_
bool tensorflow::ops::FakeQuantWithMinMaxVarsGradient::Attrs::narrow_range_ = false
num_bits_
int64 tensorflow::ops::FakeQuantWithMinMaxVarsGradient::Attrs::num_bits_ = 8
Общедоступные функции
NarrowRange
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxVarsGradient::Attrs::NarrowRange( bool x )
Определяет, квантировать ли значения в 2^num_bits - 1 различных значений.
По умолчанию false
NumBits
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxVarsGradient::Attrs::NumBits( int64 x )
Разрядность квантования; от 2 до 8 включительно.
По умолчанию 8
© 2022 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/api_docs/cc/struct/tensorflow/ops/fake-quant-with-min-max-vars-gradient/attrs