tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs
#include <array_ops.h>
Дополнительные атрибуты-установщики для FakeQuantWithMinMaxArgs.
Краткое описание
| Публичные атрибуты | |
|---|---|
max_ = 6.0f |
float |
min_ = -6.0f |
float |
narrow_range_ = false |
bool |
num_bits_ = 8 |
int64 |
| Публичные функции | |
|---|---|
Max(float x) |
TF_MUST_USE_RESULT AttrsПо умолчанию 6. |
Min(float x) |
TF_MUST_USE_RESULT AttrsПо умолчанию -6. |
NarrowRange(bool x) |
TF_MUST_USE_RESULT AttrsПо умолчанию false. |
NumBits(int64 x) |
TF_MUST_USE_RESULT AttrsПо умолчанию 8. |
Публичные атрибуты
max_
float tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::max_ = 6.0f
min_
float tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::min_ = -6.0f
narrow_range_
bool tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::narrow_range_ = false
num_bits_
int64 tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::num_bits_ = 8
Публичные функции
Max
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::Max( float x )
По умолчанию 6.
Min
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::Min( float x )
По умолчанию -6.
NarrowRange
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::NarrowRange( bool x )
По умолчанию false.
NumBits
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs::NumBits( int64 x )
По умолчанию 8.
© 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/struct/tensorflow/ops/fake-quant-with-min-max-args/attrs