#include <array_ops.h>
Optional attribute setters for FakeQuantWithMinMaxArgsGradient.
Public attributes | |
---|---|
max_ = 6.0f | float |
min_ = -6.0f | float |
narrow_range_ = false | bool |
num_bits_ = 8 | int64 |
Public functions | |
---|---|
Max(float x) | TF_MUST_USE_RESULT Attrs Defaults to 6. |
Min(float x) | TF_MUST_USE_RESULT Attrs Defaults to -6. |
NarrowRange(bool x) | TF_MUST_USE_RESULT Attrs Defaults to false. |
NumBits(int64 x) | TF_MUST_USE_RESULT Attrs Defaults to 8. |
float tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::max_ = 6.0f
float tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::min_ = -6.0f
bool tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::narrow_range_ = false
int64 tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::num_bits_ = 8
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::Max( float x )
Defaults to 6.
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::Min( float x )
Defaults to -6.
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::NarrowRange( bool x )
Defaults to false.
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::NumBits( int64 x )
Defaults to 8.
© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.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-args-gradient/attrs.html