dòng chảy căng:: ôi:: Lượng tử hóaVàDequantizeV3

#include <array_ops.h>

Lượng tử hóa sau đó khử lượng tử một tensor.

Bản tóm tắt

Điều này gần giống với QuantizeAndDequantizeV2 , ngoại trừ việc num_bits là một tensor, vì vậy giá trị của nó có thể thay đổi trong quá trình huấn luyện.

Tranh luận:

Trả về:

Hàm tạo và hàm hủy

QuantizeAndDequantizeV3 (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input input_min, :: tensorflow::Input input_max, :: tensorflow::Input num_bits)
QuantizeAndDequantizeV3 (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input input_min, :: tensorflow::Input input_max, :: tensorflow::Input num_bits, const QuantizeAndDequantizeV3::Attrs & attrs)

Thuộc tính công khai

operation
output

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

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

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

NarrowRange (bool x)
RangeGiven (bool x)
SignedInput (bool x)

Cấu trúc

tensorflow:: ops:: QuantizeAndDequantizeV3:: Attrs

Bộ cài đặt thuộc tính tùy chọn cho QuantizeAndDequantizeV3 .

Thuộc tính công khai

hoạt động

Operation operation

đầu ra

::tensorflow::Output output

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

Lượng tử hóaVàDequantizeV3

 QuantizeAndDequantizeV3(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input input_min,
  ::tensorflow::Input input_max,
  ::tensorflow::Input num_bits
)

Lượng tử hóaVàDequantizeV3

 QuantizeAndDequantizeV3(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input input_min,
  ::tensorflow::Input input_max,
  ::tensorflow::Input num_bits,
  const QuantizeAndDequantizeV3::Attrs & attrs
)

nút

::tensorflow::Node * node() const 

toán tử::tenorflow::Đầu vào

 operator::tensorflow::Input() const 

toán tử::tenorflow::Đầu ra

 operator::tensorflow::Output() const 

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

Phạm vi hẹp

Attrs NarrowRange(
  bool x
)

Phạm vi đã cho

Attrs RangeGiven(
  bool x
)

Đã kýĐầu vào

Attrs SignedInput(
  bool x
)