tensorflow::ops::LRN::Attrs
#include <nn_ops.h>
Дополнительные атрибуты-установщики для LRN.
Краткое описание
| Общедоступные атрибуты | |
|---|---|
alpha_ = 1.0f | float |
beta_ = 0.5f | float |
bias_ = 1.0f | float |
depth_radius_ = 5 | int64 |
| Общедоступные функции | |
|---|---|
Alpha(float x) | TF_MUST_USE_RESULT Attrs Коэффициент масштабирования, обычно положительный. |
Beta(float x) | TF_MUST_USE_RESULT Attrs Показатель степени. |
Bias(float x) | TF_MUST_USE_RESULT Attrs Смещение (обычно положительное, чтобы избежать деления на 0). |
DepthRadius(int64 x) | TF_MUST_USE_RESULT Attrs 0-мерное значение. |
Общедоступные атрибуты
alpha_
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
depth_radius_
int64 tensorflow::ops::LRN::Attrs::depth_radius_ = 5
Общедоступные функции
Alpha
TF_MUST_USE_RESULT Attrs tensorflow::ops::LRN::Attrs::Alpha( float x )
Коэффициент масштабирования, обычно положительный.
По умолчанию 1
Beta
TF_MUST_USE_RESULT Attrs tensorflow::ops::LRN::Attrs::Beta( float x )
Показатель степени.
По умолчанию 0.5
Bias
TF_MUST_USE_RESULT Attrs tensorflow::ops::LRN::Attrs::Bias( float x )
Смещение (обычно положительное, чтобы избежать деления на 0).
По умолчанию 1
DepthRadius
TF_MUST_USE_RESULT Attrs tensorflow::ops::LRN::Attrs::DepthRadius( int64 x )
0-мерное значение.
Половина ширины окна нормализации по глубине.
По умолчанию 5
© 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/l-r-n/attrs