#include <array_ops.h>
Optional attribute setters for QuantizeV2.
Public attributes | |
---|---|
axis_ = -1 | int64 |
ensure_minimum_range_ = 0.01f | float |
mode_ = "MIN_COMBINED" | StringPiece |
narrow_range_ = false | bool |
round_mode_ = "HALF_AWAY_FROM_ZERO" | StringPiece |
Public functions | |
---|---|
Axis(int64 x) | TF_MUST_USE_RESULT Attrs Defaults to -1. |
EnsureMinimumRange(float x) | TF_MUST_USE_RESULT Attrs Defaults to 0.01. |
Mode(StringPiece x) | TF_MUST_USE_RESULT Attrs Defaults to "MIN_COMBINED". |
NarrowRange(bool x) | TF_MUST_USE_RESULT Attrs Defaults to false. |
RoundMode(StringPiece x) | TF_MUST_USE_RESULT Attrs Defaults to "HALF_AWAY_FROM_ZERO". |
int64 tensorflow::ops::QuantizeV2::Attrs::axis_ = -1
float tensorflow::ops::QuantizeV2::Attrs::ensure_minimum_range_ = 0.01f
StringPiece tensorflow::ops::QuantizeV2::Attrs::mode_ = "MIN_COMBINED"
bool tensorflow::ops::QuantizeV2::Attrs::narrow_range_ = false
StringPiece tensorflow::ops::QuantizeV2::Attrs::round_mode_ = "HALF_AWAY_FROM_ZERO"
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeV2::Attrs::Axis( int64 x )
Defaults to -1.
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeV2::Attrs::EnsureMinimumRange( float x )
Defaults to 0.01.
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeV2::Attrs::Mode( StringPiece x )
Defaults to "MIN_COMBINED".
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeV2::Attrs::NarrowRange( bool x )
Defaults to false.
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeV2::Attrs::RoundMode( StringPiece x )
Defaults to "HALF_AWAY_FROM_ZERO".
© 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/quantize-v2/attrs