Just for the record, trainable weight tracking in custom layers works fine and has always worked fine. You can test it yourself, it takes 7 lines of code. Custom layers with trainable weights are used in countless workflows. Can't believe I have to say this
-
-
Show this thread
-
That said, it's generally good practice to write unit tests for your layers, that test basic assumptions: number of weights, number of trainable weights, output shape, test that the layer produces the same output after deserialization, etc. It enables you to catch common mistakes
Show this thread -
So do, in fact, check it yourself, via a unit test -- it's never wasted time. For any codebase that's actively maintained, you should always aim for 100% coverage
Show this thread -
Unit tests are the most useful maintenance tool there is -- they enable you to make changes with confidence.https://twitter.com/fchollet/status/1273713171111440385?s=19 …
Show this thread
End of conversation
New conversation -
-
-
The curse of the platform developer.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
its a bug that keras is complicit in, which is just as bad
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Hey, that's just Keras' word against mine, man
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Someone should write an AI tool that anticipates all possible programs it might be used in
-
I wonder what Turning’s Halting Problem proof in 1936 might say about this
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.


