tensorflow::ops::QuantizedReluX
#include <nn_ops.h>
Вычисляет квантованную выпрямленную линейную функцию X: min(max(features, 0), max_value)
Summary
Arguments:
- scope: An Scope object
- min_features: Значение с плавающей точкой, которое представляет наименьшее квантованное значение.
- max_features: Значение с плавающей точкой, которое представляет наибольшее квантованное значение.
Returns:
-
Outputactivations: Имеет ту же форму вывода, что и «features». -
Outputmin_activations: Значение с плавающей точкой, которое представляет наименьшее квантованное значение. -
Outputmax_activations: Значение с плавающей точкой, которое представляет наибольшее квантованное значение.
| Constructors and Destructors | |
|---|---|
QuantizedReluX(const ::tensorflow::Scope & scope, ::tensorflow::Input features, ::tensorflow::Input max_value, ::tensorflow::Input min_features, ::tensorflow::Input max_features) | |
QuantizedReluX(const ::tensorflow::Scope & scope, ::tensorflow::Input features, ::tensorflow::Input max_value, ::tensorflow::Input min_features, ::tensorflow::Input max_features, const QuantizedReluX::Attrs & attrs) |
| Public attributes | |
|---|---|
activations | |
max_activations | |
min_activations | |
operation | |
| Public static functions | |
|---|---|
OutType(DataType x) | |
| Structs | |
|---|---|
| tensorflow::ops::QuantizedReluX::Attrs | Дополнительные настройки для QuantizedReluX. |
Public attributes
activations
::tensorflow::Output activations
max_activations
::tensorflow::Output max_activations
min_activations
::tensorflow::Output min_activations
operation
Operation operation
Public functions
QuantizedReluX
QuantizedReluX( const ::tensorflow::Scope & scope, ::tensorflow::Input features, ::tensorflow::Input max_value, ::tensorflow::Input min_features, ::tensorflow::Input max_features )
QuantizedReluX
QuantizedReluX( const ::tensorflow::Scope & scope, ::tensorflow::Input features, ::tensorflow::Input max_value, ::tensorflow::Input min_features, ::tensorflow::Input max_features, const QuantizedReluX::Attrs & attrs )
Public static functions
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-relu-x