Feature Request: Capability to fix the seed for all keras kernel initializers #31149
Labels
comp:keras
Keras related issues
stale
This label marks the issue/pr stale - to be closed automatically if no activity
stat:awaiting response
Status - Awaiting response from author
TF 2.0
Issues relating to TensorFlow 2.0
type:feature
Feature requests
System information
Describe the feature and the current behavior/state.
If you create a Keras model, the only way to make your model reproducible is to repeat setting the seed for the
kernel_initializer
in every layer. This makes the code bulky and more prone to error. For example, a reproducible code looks like this:I wonder if you can add a default seed parameter that we can set and it affects all the initializers.
Will this change the current api? How?
No
Who will benefit with this feature?
Anyone who likes clean code and would like to create reproducible models.
The text was updated successfully, but these errors were encountered: