tensorflow::ops::QuantizeV2::Attrs
#include <array_ops.h>
Optional attribute setters for QuantizeV2.
Summary
Public attributes | |
---|---|
mode_ = "MIN_COMBINED" | StringPiece |
round_mode_ = "HALF_AWAY_FROM_ZERO" | StringPiece |
Public functions | |
---|---|
Mode(StringPiece x) | TF_MUST_USE_RESULT Attrs Defaults to "MIN_COMBINED". |
RoundMode(StringPiece x) | TF_MUST_USE_RESULT Attrs Defaults to "HALF_AWAY_FROM_ZERO". |
Public attributes
mode_
StringPiece tensorflow::ops::QuantizeV2::Attrs::mode_ = "MIN_COMBINED"
round_mode_
StringPiece tensorflow::ops::QuantizeV2::Attrs::round_mode_ = "HALF_AWAY_FROM_ZERO"
Public functions
Mode
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeV2::Attrs::Mode( StringPiece x )
Defaults to "MIN_COMBINED".
RoundMode
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 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantize-v2/attrs