dòng chảy :: hoạt động :: QuantizedInstanceNorm
#include <array_ops.h>
Chuẩn hóa phiên bản lượng tử hóa.
Tóm lược
Tranh luận:
- phạm vi: Một đối tượng Phạm vi
- x: Một đầu vào 4D Tensor .
- x_min: Giá trị được đại diện bởi đầu vào lượng tử hóa thấp nhất.
- x_max: Giá trị được biểu thị bằng đầu vào lượng tử hóa cao nhất.
Các thuộc tính tùy chọn (xem Phần Attrs
):
- output_range_given: Nếu True,
given_y_min
vàgiven_y_min
vàgiven_y_max
được sử dụng làm phạm vi đầu ra. Nếu không, việc triển khai sẽ tính toán phạm vi đầu ra. - given_y_min: Kết quả tính bằng
y_min
nếuoutput_range_given
là True. - given_y_max: Kết quả tính bằng
y_max
nếuoutput_range_given
là True. - variance_epsilon: Một số thực nhỏ để tránh chia cho 0.
- min_separation: tối thiểu giá trị của
y_max - y_min
Lợi nhuận:
-
Output
y: A 4D Tensor . -
Output
y_min: Giá trị được biểu thị bằng đầu ra lượng tử hóa thấp nhất. -
Output
y_max: Giá trị được biểu thị bằng đầu ra lượng tử hóa cao nhất.
Người xây dựng và Người phá hủy | |
---|---|
QuantizedInstanceNorm (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input x_min, :: tensorflow::Input x_max) | |
QuantizedInstanceNorm (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input x_min, :: tensorflow::Input x_max, const QuantizedInstanceNorm::Attrs & attrs) |
Thuộc tính công cộng | |
---|---|
operation | |
y | |
y_max | |
y_min |
Các chức năng tĩnh công khai | |
---|---|
GivenYMax (float x) | |
GivenYMin (float x) | |
MinSeparation (float x) | |
OutputRangeGiven (bool x) | |
VarianceEpsilon (float x) |
Cấu trúc | |
---|---|
tensorflow :: ops :: QuantizedInstanceNorm :: Attrs | Bộ thiết lập thuộc tính tùy chọn cho QuantizedInstanceNorm . |
Thuộc tính công cộng
hoạt động
Operation operation
y
::tensorflow::Output y
y_max
::tensorflow::Output y_max
y_min
::tensorflow::Output y_min
Chức năng công cộng
QuantizedInstanceNorm
QuantizedInstanceNorm( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input x_min, ::tensorflow::Input x_max )
QuantizedInstanceNorm
QuantizedInstanceNorm( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input x_min, ::tensorflow::Input x_max, const QuantizedInstanceNorm::Attrs & attrs )
Các chức năng tĩnh công khai
GivenYMax
Attrs GivenYMax( float x )
GivenYMin
Attrs GivenYMin( float x )
Tối thiểu
Attrs MinSeparation( float x )
OutputRangeGiven
Attrs OutputRangeGiven( bool x )
VarianceEpsilon
Attrs VarianceEpsilon( float x )