#include <array_ops.h>
Optional attribute setters for QuantizeV2.
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". |
StringPiece tensorflow::ops::QuantizeV2::Attrs::mode_ = "MIN_COMBINED"
StringPiece tensorflow::ops::QuantizeV2::Attrs::round_mode_ = "HALF_AWAY_FROM_ZERO"
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::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