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

#include <array_ops.h>

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

Tóm lược

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

Tranh luận:

Lợi nhuận:

  • Output : Bộ căng đầu ra.

Người xây dựng và Người phá 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

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

Axis (int64 x)
NarrowRange (bool x)
RangeGiven (bool x)
SignedInput (bool x)

Cấu trúc

tensorflow :: ops :: QuantizeAndDequantizeV3 :: Attrs

Bộ thiết lập 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

QuantizeAndDequantizeV3

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

QuantizeAndDequantizeV3

 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ử :: tensorflow :: Đầu vào

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

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

Trục

Attrs Axis(
  int64 x
)

Phạm vi hẹp

Attrs NarrowRange(
  bool x
)

RangeGiven

Attrs RangeGiven(
  bool x
)

Đã ký tên

Attrs SignedInput(
  bool x
)