tensorflow::ops::QuantizedRelu

#include <nn_ops.h>

Tính toán tuyến tính được chỉnh lưu lượng tử: max(features, 0)

Bản tóm tắt

Luận điểm:

  • 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.

Trả về:

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

Hàm khởi tạo và hàm hủy

QuantizedRelu (const :: tensorflow::Scope & scope, :: tensorflow::Input features, :: tensorflow::Input min_features, :: tensorflow::Input max_features)
QuantizedRelu (const :: tensorflow::Scope & scope, :: tensorflow::Input features, :: tensorflow::Input min_features, :: tensorflow::Input max_features, const QuantizedRelu::Attrs & attrs)

Thuộc tính công khai

activations
max_activations
min_activations
operation

Các hàm tĩnh công khai

OutType (DataType x)

Cấu trúc

tensorflow::ops::QuantizedRelu::Attrs

Các thiết lập thuộc tính tùy chọn cho QuantizedRelu .

Thuộc tính công khai

kích hoạt

::tensorflow::Output activations

kích hoạt tối đa

::tensorflow::Output max_activations

kích hoạt tối thiểu

::tensorflow::Output min_activations

hoạt động

Operation operation

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

QuantizedRelu

 QuantizedRelu(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input features,
  ::tensorflow::Input min_features,
  ::tensorflow::Input max_features
)

QuantizedRelu

 QuantizedRelu(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input features,
  ::tensorflow::Input min_features,
  ::tensorflow::Input max_features,
  const QuantizedRelu::Attrs & attrs
)

Các hàm tĩnh công khai

OutType

Attrs OutType(
  DataType x
)