tensorflow::ops::QuantizeAndDequantizeV3
#include <array_ops.h>Thực hiện quá trình lượng tử hóa rồi giải lượng tử hóa một tensor.
Bản tóm tắt
Chức năng này gần như giống hệt QuantizeAndDequantizeV2 , ngoại trừ việc num_bits là một tensor, do đó giá trị của nó có thể thay đổi trong quá trình huấn luyện.
Luận điểm:
- phạm vi: Một đối tượng Phạm vi
Trả về:
-
Output: Tensor đầu ra.
Hàm khởi 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 | |
|---|---|
Axis (int64 x) | |
NarrowRange (bool x) | |
RangeGiven (bool x) | |
SignedInput (bool x) | |
Cấu trúc | |
|---|---|
| tensorflow::ops::QuantizeAndDequantizeV3::Attrs | Các 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
Lượng tử hóa và giải lượng tử hóa V3
QuantizeAndDequantizeV3( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input input_min, ::tensorflow::Input input_max, ::tensorflow::Input num_bits )
Lượng tử hóa và giải lượng tử hóa V3
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
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Các hàm tĩnh công khai
Trục
Attrs Axis( int64 x )
Phạm vi hẹp
Attrs NarrowRange( bool x )
Phạm vi đã cho
Attrs RangeGiven( bool x )
Đầu vào đã ký
Attrs SignedInput( bool x )