tensorflow::ops::QuantizeAndDequantizeV3::Attrs

#include <array_ops.h>

Optional attribute setters for QuantizeAndDequantizeV3.

Summary

Public attributes
axis_ = -1
int64
narrow_range_ = false
bool
range_given_ = true
bool
signed_input_ = true
bool
Public functions
Axis(int64 x)
TF_MUST_USE_RESULT Attrs
Defaults to -1.
NarrowRange(bool x)
TF_MUST_USE_RESULT Attrs
Defaults to false.
RangeGiven(bool x)
TF_MUST_USE_RESULT Attrs
Defaults to true.
SignedInput(bool x)
TF_MUST_USE_RESULT Attrs
Defaults to true.

Public attributes

axis_

int64 tensorflow::ops::QuantizeAndDequantizeV3::Attrs::axis_ = -1

narrow_range_

bool tensorflow::ops::QuantizeAndDequantizeV3::Attrs::narrow_range_ = false

range_given_

bool tensorflow::ops::QuantizeAndDequantizeV3::Attrs::range_given_ = true

signed_input_

bool tensorflow::ops::QuantizeAndDequantizeV3::Attrs::signed_input_ = true

Public functions

Axis

TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeAndDequantizeV3::Attrs::Axis(
  int64 x
)

Defaults to -1.

NarrowRange

TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeAndDequantizeV3::Attrs::NarrowRange(
  bool x
)

Defaults to false.

RangeGiven

TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeAndDequantizeV3::Attrs::RangeGiven(
  bool x
)

Defaults to true.

SignedInput

TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeAndDequantizeV3::Attrs::SignedInput(
  bool x
)

Defaults to true.

© 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-and-dequantize-v3/attrs