question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Get rid of Activations enum

See original GitHub issue

Activations enum duplicates Activation interface and makes adding new activation function harder for library contributors and impossible for library users.

Get rid of enum and add convenient “provider” service which stores activation functions objects.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
zaleslawcommented, Sep 13, 2021

I suppose we could go far from the basic Keras API in a few moments to be a more Kotlin framework adopting the best Kotlin features

1reaction
zaleslawcommented, Sep 13, 2021

I agree with your argument about the importance of customization and it’s a part of Keras’s spirit too. I suggest planning these API changes in the next release, 0.4.

We should raise a discussion and ask the community about a few of the proposed API changes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can I add and remove elements of enumeration at runtime ...
No, enums are supposed to be a complete static enumeration. At compile time, you might want to generate your enum .java file from...
Read more >
How to Get Rid of the Activate Windows Watermark ...
In this article, I will show you 4 ways you can remove the Activate Windows watermark on your Windows 10 PC. Some of...
Read more >
Enum Class (System)
Provides the base class for enumerations.
Read more >
Using Enums
Enumerated types are declared using the ENUM() statement. ... asEnum(); System.out.println("enum as string: " + ev.get()); // returns "Pears" ...
Read more >
Enum Constant - NI
You select, add or remove, and rearrange values in enumerated constants much the same way you do for ring and enumerated controls.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found