From d61e20fb47aae5dcfd12413af4126d1be4b63e3b Mon Sep 17 00:00:00 2001 From: Beacontownfc <89081023+Beacontownfc@users.noreply.github.com> Date: Mon, 5 Jun 2023 19:59:11 +0800 Subject: [PATCH] Update ILayersApi.cs --- src/TensorFlowNET.Core/Keras/Layers/ILayersApi.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/TensorFlowNET.Core/Keras/Layers/ILayersApi.cs b/src/TensorFlowNET.Core/Keras/Layers/ILayersApi.cs index 6a29f9e5..b4422fb1 100644 --- a/src/TensorFlowNET.Core/Keras/Layers/ILayersApi.cs +++ b/src/TensorFlowNET.Core/Keras/Layers/ILayersApi.cs @@ -104,6 +104,15 @@ namespace Tensorflow.Keras.Layers bool use_bias = true, IInitializer bias_initializer = null, Shape input_shape = null); + + public ILayer Dense(int units, + string activation = null, + IInitializer kernel_initializer = null, + bool use_bias = true, + IInitializer bias_initializer = null, + IRegularizer kernel_regularizer = null, + IRegularizer bias_regularizer = null, + Shape input_shape = null); public ILayer Dropout(float rate, Shape noise_shape = null, int? seed = null);