Skip to content

why do we need to declare get_config for a float? #20020

Closed Answered by newresu
newresu asked this question in Q&A

You must be logged in to vote

The __init__ args of a custom layer must be declared in get config.
If they aren't primitive types must be also serialised.

Config won't be stored otherwise ig.

Replies: 1 comment

You must be logged in to vote
0 replies
Answer selected by newresu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant