aliran tensor:: operasi:: LRN:: Attr
#include <nn_ops.h>Penyetel atribut opsional untuk LRN .
Ringkasan
Atribut publik | |
|---|---|
 alpha_ = 1.0f | float | 
 beta_ = 0.5f | float | 
 bias_ = 1.0f | float | 
 depth_radius_ = 5 | int64 | 
Fungsi publik | |
|---|---|
 Alpha (float x) | TF_MUST_USE_RESULT Attrs Faktor skala, biasanya positif.  | 
 Beta (float x) | TF_MUST_USE_RESULT Attrs Eksponen.  | 
 Bias (float x) | TF_MUST_USE_RESULT Attrs Offset (biasanya positif untuk menghindari pembagian dengan 0).  | 
 DepthRadius (int64 x) | TF_MUST_USE_RESULT Attrs 0-D.  | 
Atribut publik
alfa_
float tensorflow::ops::LRN::Attrs::alpha_ = 1.0f
beta_
float tensorflow::ops::LRN::Attrs::beta_ = 0.5f
bias_
float tensorflow::ops::LRN::Attrs::bias_ = 1.0f
kedalaman_radius_
int64 tensorflow::ops::LRN::Attrs::depth_radius_ = 5
Fungsi publik
Alfa
TF_MUST_USE_RESULT Attrs tensorflow::ops::LRN::Attrs::Alpha( float x )
Faktor skala, biasanya positif.
Defaultnya adalah 1
Beta
TF_MUST_USE_RESULT Attrs tensorflow::ops::LRN::Attrs::Beta( float x )
Eksponen.
Defaultnya adalah 0,5
Bias
TF_MUST_USE_RESULT Attrs tensorflow::ops::LRN::Attrs::Bias( float x )
Offset (biasanya positif untuk menghindari pembagian dengan 0).
Defaultnya adalah 1
Radius Kedalaman
TF_MUST_USE_RESULT Attrs tensorflow::ops::LRN::Attrs::DepthRadius( int64 x )
0-D.
Setengah lebar jendela normalisasi 1-D.
Defaultnya adalah 5