tensorflow::ops::LRN::Attrs
#include <nn_ops.h>Các thiết lập thuộc tính tùy chọn cho LRN .
Bản tóm tắt
Thuộc tính công khai | |
|---|---|
alpha_ = 1.0f | float |
beta_ = 0.5f | float |
bias_ = 1.0f | float |
depth_radius_ = 5 | int64 |
Chức năng công cộng | |
|---|---|
Alpha (float x) | TF_MUST_USE_RESULT Attrs Hệ số tỷ lệ, thường là dương. |
Beta (float x) | TF_MUST_USE_RESULT Attrs Số mũ. |
Bias (float x) | TF_MUST_USE_RESULT Attrs Một hệ số bù (thường là số dương để tránh chia cho 0). |
DepthRadius (int64 x) | TF_MUST_USE_RESULT Attrs 0-D. |
Thuộc tính công khai
alpha_
float tensorflow::ops::LRN::Attrs::alpha_ = 1.0f
beta_
float tensorflow::ops::LRN::Attrs::beta_ = 0.5f
thiên vị_
float tensorflow::ops::LRN::Attrs::bias_ = 1.0f
độ sâu_bán kính_
int64 tensorflow::ops::LRN::Attrs::depth_radius_ = 5
Chức năng công cộng
Alpha
TF_MUST_USE_RESULT Attrs tensorflow::ops::LRN::Attrs::Alpha( float x )
Hệ số tỷ lệ, thường là dương.
Mặc định là 1
Phiên bản Beta
TF_MUST_USE_RESULT Attrs tensorflow::ops::LRN::Attrs::Beta( float x )
Số mũ.
Mặc định là 0,5
Thiên kiến
TF_MUST_USE_RESULT Attrs tensorflow::ops::LRN::Attrs::Bias( float x )
Một hệ số bù (thường là số dương để tránh chia cho 0).
Mặc định là 1
Bán kính độ sâu
TF_MUST_USE_RESULT Attrs tensorflow::ops::LRN::Attrs::DepthRadius( int64 x )
0-D.
Nửa chiều rộng của cửa sổ chuẩn hóa 1 chiều.
Mặc định là 5