tensorflow::ops::FusedBatchNormGrad::Attrs
#include <nn_ops.h>Các thiết lập thuộc tính tùy chọn cho FusedBatchNormGrad .
Bản tóm tắt
Thuộc tính công khai | |
|---|---|
data_format_ = "NHWC" | StringPiece |
epsilon_ = 0.0001f | float |
is_training_ = true | bool |
Chức năng công cộng | |
|---|---|
DataFormat (StringPiece x) | TF_MUST_USE_RESULT Attrs Định dạng dữ liệu cho y_backprop, x, x_backprop. |
Epsilon (float x) | TF_MUST_USE_RESULT Attrs Một số thực nhỏ được thêm vào phương sai của x. |
IsTraining (bool x) | TF_MUST_USE_RESULT Attrs Một giá trị boolean cho biết thao tác này dành cho huấn luyện (mặc định) hay suy luận. |
Thuộc tính công khai
định dạng dữ liệu
StringPiece tensorflow::ops::FusedBatchNormGrad::Attrs::data_format_ = "NHWC"
epsilon_
float tensorflow::ops::FusedBatchNormGrad::Attrs::epsilon_ = 0.0001f
is_training_
bool tensorflow::ops::FusedBatchNormGrad::Attrs::is_training_ = true
Chức năng công cộng
Định dạng dữ liệu
TF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNormGrad::Attrs::DataFormat( StringPiece x )
Định dạng dữ liệu cho y_backprop, x, x_backprop.
Hoặc "NHWC" (mặc định) hoặc "NCHW".
Mặc định là "NHWC"
Epsilon
TF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNormGrad::Attrs::Epsilon( float x )
Một số thực nhỏ được thêm vào phương sai của x.
Mặc định là 0.0001
Đào tạo
TF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNormGrad::Attrs::IsTraining( bool x )
Một giá trị boolean cho biết thao tác này dành cho huấn luyện (mặc định) hay suy luận.
Mặc định là true