aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/layers/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/layers/core.py')
-rw-r--r--tensorflow/python/layers/core.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tensorflow/python/layers/core.py b/tensorflow/python/layers/core.py
index 407bc06dfe..61dffe2950 100644
--- a/tensorflow/python/layers/core.py
+++ b/tensorflow/python/layers/core.py
@@ -57,6 +57,8 @@ class Dense(base.Layer):
linear activation.
use_bias: Boolean, whether the layer uses a bias.
kernel_initializer: Initializer function for the weight matrix.
+ If `None` (default), weights are initialized using the default
+ initializer used by `tf.get_variable`.
bias_initializer: Initializer function for the bias.
kernel_regularizer: Regularizer function for the weight matrix.
bias_regularizer: Regularizer function for the bias.
@@ -186,6 +188,8 @@ def dense(
linear activation.
use_bias: Boolean, whether the layer uses a bias.
kernel_initializer: Initializer function for the weight matrix.
+ If `None` (default), weights are initialized using the default
+ initializer used by `tf.get_variable`.
bias_initializer: Initializer function for the bias.
kernel_regularizer: Regularizer function for the weight matrix.
bias_regularizer: Regularizer function for the bias.