tensorflow::ops::FusedBatchNorm::Attrs
#include <nn_ops.h>
Дополнительные атрибуты для FusedBatchNorm.
Краткое описание
| Общедоступные атрибуты | |
|---|---|
data_format_ = "NHWC" |
StringPiece |
epsilon_ = 0.0001f |
float |
is_training_ = true |
bool |
| Общедоступные функции | |
|---|---|
DataFormat(StringPiece x) |
TF_MUST_USE_RESULT AttrsФормат данных для x и y. |
Epsilon(float x) |
TF_MUST_USE_RESULT AttrsМалое число с плавающей точкой, добавляемое к дисперсии x. |
IsTraining(bool x) |
TF_MUST_USE_RESULT AttrsБулево значение, указывающее, выполняется ли операция для обучения (по умолчанию) или вывода. |
Общедоступные атрибуты
data_format_
StringPiece tensorflow::ops::FusedBatchNorm::Attrs::data_format_ = "NHWC"
epsilon_
float tensorflow::ops::FusedBatchNorm::Attrs::epsilon_ = 0.0001f
is_training_
bool tensorflow::ops::FusedBatchNorm::Attrs::is_training_ = true
Общедоступные функции
DataFormat
TF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNorm::Attrs::DataFormat( StringPiece x )
Формат данных для x и y.
Либо "NHWC" (по умолчанию), либо "NCHW".
По умолчанию "NHWC"
Epsilon
TF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNorm::Attrs::Epsilon( float x )
Малое число с плавающей точкой, добавляемое к дисперсии x.
По умолчанию 0.0001
IsTraining
TF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNorm::Attrs::IsTraining( bool x )
Булево значение, указывающее, выполняется ли операция для обучения (по умолчанию) или вывода.
По умолчанию true
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fused-batch-norm/attrs