Spec-Zone.ru › TensorFlow C++ 2.9

tensorflow::ops::QuantizedReluX

#include <nn_ops.h>

Вычисляет квантованное выпрямленное линейное 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

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

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/versions/r2.9/api_docs/cc/class/tensorflow/ops/quantized-relu-x

Spec-Zone.ru

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