tensorflow::ops::QuantizedRelu6
#include <nn_ops.h>
Вычисляет квантованное выпрямленное линейное 6: min(max(features, 0), 6)
Summary
Arguments:
- scope: An object Scope
- min_features: Плавающее значение, которое представляет наименьшее квантованное значение.
- max_features: Плавающее значение, которое представляет наибольшее квантованное значение.
Returns:
-
Outputactivations: Имеет ту же форму вывода, что и "features". -
Outputmin_activations: Плавающее значение, которое представляет наименьшее квантованное значение. -
Outputmax_activations: Плавающее значение, которое представляет наибольшее квантованное значение.
| Конструкторы и деструкторы | |
|---|---|
QuantizedRelu6(const ::tensorflow::Scope & scope, ::tensorflow::Input features, ::tensorflow::Input min_features, ::tensorflow::Input max_features) | |
QuantizedRelu6(const ::tensorflow::Scope & scope, ::tensorflow::Input features, ::tensorflow::Input min_features, ::tensorflow::Input max_features, const QuantizedRelu6::Attrs & attrs) |
| Общедоступные атрибуты | |
|---|---|
activations | |
max_activations | |
min_activations | |
operation | |
| Общедоступные статические функции | |
|---|---|
OutType(DataType x) | |
| Структуры | |
|---|---|
| tensorflow::ops::QuantizedRelu6::Attrs | Необязательные установки атрибутов для QuantizedRelu6. |
Общедоступные атрибуты
activations
::tensorflow::Output activations
max_activations
::tensorflow::Output max_activations
min_activations
::tensorflow::Output min_activations
operation
Operation operation
Общедоступные функции
QuantizedRelu6
QuantizedRelu6( const ::tensorflow::Scope & scope, ::tensorflow::Input features, ::tensorflow::Input min_features, ::tensorflow::Input max_features )
QuantizedRelu6
QuantizedRelu6( const ::tensorflow::Scope & scope, ::tensorflow::Input features, ::tensorflow::Input min_features, ::tensorflow::Input max_features, const QuantizedRelu6::Attrs & attrs )
Общедоступные статические функции
OutType
Attrs OutType( DataType x )
© 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/r2.3/api_docs/cc/class/tensorflow/ops/quantized-relu6