Spec-Zone.ru › TensorFlow C++

tensorflow::ops::QuantizedReluX

#include <nn_ops.h>

Вычисляет квантованную функцию ReLU X: min(max(features, 0), max_value)

Сводка

Аргументы:

  • scope: объект Scope
  • min_features: значение с плавающей точкой, которому соответствует наименьшее квантованное значение.
  • max_features: значение с плавающей точкой, которому соответствует наибольшее квантованное значение.

Возвращает:

  • Output activations: имеет ту же форму выходных данных, что и «features».
  • Output min_activations: значение с плавающей точкой, которому соответствует наименьшее квантованное значение.
  • Output max_activations: значение с плавающей точкой, которому соответствует наибольшее квантованное значение.
Конструкторы и деструкторы
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)
Открытые атрибуты
activations
::tensorflow::Output
max_activations
::tensorflow::Output
min_activations
::tensorflow::Output
operation
Operation
Открытые статические функции
OutType(DataType x)
Attrs
Структуры
tensorflow::ops::QuantizedReluX::Attrs

Методы установки необязательных атрибутов для QuantizedReluX.

Открытые атрибуты

activations

::tensorflow::Output activations

max_activations

::tensorflow::Output max_activations

min_activations

::tensorflow::Output min_activations

operation

Operation operation

Открытые функции

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
)

Открытые статические функции

OutType

Attrs OutType(
  DataType x
)

© 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/class/tensorflow/ops/quantized-relu-x

Spec-Zone.ru

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