tensorflow::ops::FakeQuantWithMinMaxVars::Attrs
#include <array_ops.h>
Optional attribute setters for FakeQuantWithMinMaxVars.
Summary
Public attributes | |
---|---|
narrow_range_ = false | bool |
num_bits_ = 8 | int64 |
Public functions | |
---|---|
NarrowRange(bool x) | TF_MUST_USE_RESULT Attrs Defaults to false. |
NumBits(int64 x) | TF_MUST_USE_RESULT Attrs Defaults to 8. |
Public attributes
narrow_range_
bool tensorflow::ops::FakeQuantWithMinMaxVars::Attrs::narrow_range_ = false
num_bits_
int64 tensorflow::ops::FakeQuantWithMinMaxVars::Attrs::num_bits_ = 8
Public functions
NarrowRange
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxVars::Attrs::NarrowRange( bool x )
Defaults to false.
NumBits
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxVars::Attrs::NumBits( int64 x )
Defaults to 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-vars/attrs