Spec-Zone.ru › TensorFlow C++ 2.4

tensorflow::ops::Dequantize::Attrs

#include <array_ops.h>

Дополнительные атрибуты-установщики для Dequantize.

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

Общедоступные атрибуты
axis_ = -1
int64
dtype_ = DT_FLOAT
DataType
mode_ = "MIN_COMBINED"
StringPiece
narrow_range_ = false
bool
Общедоступные функции
Axis(int64 x)
TF_MUST_USE_RESULT Attrs
По умолчанию -1.
Dtype(DataType x)
TF_MUST_USE_RESULT Attrs
Тип выходного тензора.
Mode(StringPiece x)
TF_MUST_USE_RESULT Attrs
По умолчанию "MIN_COMBINED".
NarrowRange(bool x)
TF_MUST_USE_RESULT Attrs
По умолчанию false.

Общедоступные атрибуты

axis_

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

dtype_

DataType tensorflow::ops::Dequantize::Attrs::dtype_ = DT_FLOAT

mode_

StringPiece tensorflow::ops::Dequantize::Attrs::mode_ = "MIN_COMBINED"

narrow_range_

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

Общедоступные функции

Axis

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

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

Тип

TF_MUST_USE_RESULT Attrs tensorflow::ops::Dequantize::Attrs::Dtype(
  DataType x
)

Тип выходного тензора.

В настоящее время Dequantize поддерживает float и bfloat16. Если 'dtype' равен 'bfloat16', поддерживается только режим 'MIN_COMBINED'.

По умолчанию DT_FLOAT

Режим

TF_MUST_USE_RESULT Attrs tensorflow::ops::Dequantize::Attrs::Mode(
  StringPiece x
)

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

narrow_range

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

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

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

Spec-Zone.ru

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