dòng chảy :: hoạt động :: QuantizedReluX

#include <nn_ops.h>

Tính toán tuyến tính đã chỉnh lưu lượng tử hóa X: min(max(features, 0), max_value)

Tóm lược

Tranh luận:

  • phạm vi: Một đối tượng Phạm vi
  • min_features: Giá trị float mà giá trị lượng tử hóa thấp nhất đại diện.
  • max_features: Giá trị float mà giá trị lượng tử hóa cao nhất đại diện.

Lợi nhuận:

  • Kích hoạt Output : Có hình dạng đầu ra giống như "tính năng".
  • Output min_activations: Giá trị float mà giá trị lượng tử hóa thấp nhất đại diện.
  • Output max_activations: Giá trị float mà giá trị lượng tử hóa cao nhất đại diện.

Người xây dựng và Người phá hủy

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)

Thuộc tính công khai

activations
max_activations
min_activations
operation

Chức năng tĩnh công khai

OutType (DataType x)

Cấu trúc

tensorflow :: ops :: QuantizedReluX :: Attrs

Bộ thiết lập thuộc tính tùy chọn cho QuantizedReluX .

Thuộc tính công khai

kích hoạt

::tensorflow::Output activations

max_activations

::tensorflow::Output max_activations

min_activations

::tensorflow::Output min_activations

hoạt động

Operation operation

Chức năng công cộng

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
)

Chức năng tĩnh công khai

OutType

Attrs OutType(
  DataType x
)