tensorflow::ops::QuantizedMul

#include <math_ops.h>

Trả về x * y từng phần tử mộ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 Ý : QuantizedMul 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

QuantizedMul (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)
QuantizedMul (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 QuantizedMul::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::QuantizedMul::Attrs

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

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

Nhân lượng tử

 QuantizedMul(
  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
)

Nhân lượng tử

 QuantizedMul(
  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 QuantizedMul::Attrs & attrs
)

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

Đầu ra

Attrs Toutput(
  DataType x
)