Open
Description
Hi,
I feel Dense layer should be more armed with arguments like kernel/weights constraints, bias constraints, kernel/weights regularisation and bias regularisation as is available in Tensorflow.
Weight constraints and bias constraints could help in avoiding overfitting
tf.keras.layers.Dense(
units, activation=None, use_bias=True, kernel_initializer='glorot_uniform',
bias_initializer='zeros', kernel_regularizer=None, bias_regularizer=None,
activity_regularizer=None, kernel_constraint=None, bias_constraint=None,
**kwargs)
Some well-known weight/bias constraints include NonNeg
(to make weights non-negative)
MaxNorm
, MinMaxNorm
and UnitNorm
as documented at
https://keras.io/api/layers/constraints/
Metadata
Metadata
Assignees
Labels
No labels