Browse Source

Update ILayersApi.cs

pull/1094/head
Beacontownfc GitHub 2 years ago
parent
commit
d61e20fb47
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      src/TensorFlowNET.Core/Keras/Layers/ILayersApi.cs

+ 9
- 0
src/TensorFlowNET.Core/Keras/Layers/ILayersApi.cs View File

@@ -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);



Loading…
Cancel
Save