Spec-Zone.ru › TensorFlow C++ 2.4

tensorflow::ops::QuantizeAndDequantizeV4::Attrs

#include <array_ops.h>

Дополнительные параметры для QuantizeAndDequantizeV4.

Краткое описание

Публичные атрибуты
axis_ = -1
int64
narrow_range_ = false
bool
num_bits_ = 8
int64
range_given_ = false
bool
round_mode_ = "HALF_TO_EVEN"
StringPiece
signed_input_ = true
bool
Публичные функции
Axis(int64 x)
TF_MUST_USE_RESULT Attrs
По умолчанию -1.
NarrowRange(bool x)
TF_MUST_USE_RESULT Attrs
По умолчанию false.
NumBits(int64 x)
TF_MUST_USE_RESULT Attrs
По умолчанию 8.
RangeGiven(bool x)
TF_MUST_USE_RESULT Attrs
По умолчанию false.
RoundMode(StringPiece x)
TF_MUST_USE_RESULT Attrs
По умолчанию "HALF_TO_EVEN".
SignedInput(bool x)
TF_MUST_USE_RESULT Attrs
По умолчанию true.

Публичные атрибуты

axis_

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

narrow_range_

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

num_bits_

int64 tensorflow::ops::QuantizeAndDequantizeV4::Attrs::num_bits_ = 8

range_given_

bool tensorflow::ops::QuantizeAndDequantizeV4::Attrs::range_given_ = false

round_mode_

StringPiece tensorflow::ops::QuantizeAndDequantizeV4::Attrs::round_mode_ = "HALF_TO_EVEN"

signed_input_

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

Публичные функции

Axis

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

По умолчанию -1.

NarrowRange

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

По умолчанию false.

NumBits

TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeAndDequantizeV4::Attrs::NumBits(
  int64 x
)

По умолчанию 8.

RangeGiven

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

По умолчанию false.

RoundMode

TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeAndDequantizeV4::Attrs::RoundMode(
  StringPiece x
)

По умолчанию "HALF_TO_EVEN".

SignedInput

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

По умолчанию 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-v4/attrs

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API