tensorflow::ops::Dequantize::Атрибуты
#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.
Dtype
TF_MUST_USE_RESULT Attrs tensorflow::ops::Dequantize::Attrs::Dtype( DataType x )
Тип выходного тензора.
В настоящее время Dequantize поддерживает float и bfloat16. Если 'dtype' — 'bfloat16', он поддерживает только режим 'MIN_COMBINED'.
По умолчанию DT_FLOAT
Mode
TF_MUST_USE_RESULT Attrs tensorflow::ops::Dequantize::Attrs::Mode( StringPiece x )
По умолчанию "MIN_COMBINED".
NarrowRange
TF_MUST_USE_RESULT Attrs tensorflow::ops::Dequantize::Attrs::NarrowRange( bool x )
По умолчанию false.
© 2022 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/api_docs/cc/struct/tensorflow/ops/dequantize/attrs