tensorflow::ops::QuantizedAdd

#include <math_ops.h>

Trả về x + y theo từng phần tử, hoạt động trên các bộ đệm đã được lượng tử hóa.

Bản tóm tắt

Luận điểm:

  • phạm vi: Một đối tượng Phạm vi
  • min_x: Giá trị float mà giá trị x được lượng tử hóa thấp nhất biểu thị.
  • max_x: Giá trị float mà giá trị x được lượng tử hóa cao nhất biểu thị.
  • min_y: Giá trị float mà giá trị y được lượng tử hóa thấp nhất biểu thị.
  • max_y: Giá trị float mà giá trị y được lượng tử hóa cao nhất biểu thị.

Trả về:

  • Output z
  • Min_z Output : Giá trị số thực mà giá trị đầu ra được lượng tử hóa thấp nhất thể hiện.
  • Output max_z: Giá trị số thực mà giá trị đầu ra được lượng tử hóa cao nhất thể hiện.

LƯU Ý : QuantizedAdd hỗ trợ một số hình thức truyền phát hạn chế. Tìm hiểu thêm về truyền phát tại đây.

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

QuantizedAdd (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y, :: tensorflow::Input min_x, :: tensorflow::Input max_x, :: tensorflow::Input min_y, :: tensorflow::Input max_y)
QuantizedAdd (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y, :: tensorflow::Input min_x, :: tensorflow::Input max_x, :: tensorflow::Input min_y, :: tensorflow::Input max_y, const QuantizedAdd::Attrs & attrs)

Thuộc tính công khai

max_z
min_z
operation
z

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

Toutput (DataType x)

Cấu trúc

tensorflow::ops::QuantizedAdd::Attrs

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

Thuộc tính công khai

max_z

::tensorflow::Output max_z

min_z

::tensorflow::Output min_z

hoạt động

Operation operation

z

::tensorflow::Output z

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

Lượng tử hóa

 QuantizedAdd(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  ::tensorflow::Input y,
  ::tensorflow::Input min_x,
  ::tensorflow::Input max_x,
  ::tensorflow::Input min_y,
  ::tensorflow::Input max_y
)

Lượng tử hóa

 QuantizedAdd(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  ::tensorflow::Input y,
  ::tensorflow::Input min_x,
  ::tensorflow::Input max_x,
  ::tensorflow::Input min_y,
  ::tensorflow::Input max_y,
  const QuantizedAdd::Attrs & attrs
)

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

Đầu ra

Attrs Toutput(
  DataType x
)