Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing support for ep.nonzero() and ep.flatnonzero() #33

Open
zimmerrol opened this issue Apr 15, 2021 · 1 comment
Open

Missing support for ep.nonzero() and ep.flatnonzero() #33

zimmerrol opened this issue Apr 15, 2021 · 1 comment

Comments

@zimmerrol
Copy link
Contributor

I think it would be good to have an eagerpy version of the nonzero() and flatnonzero() functions. I guess these can be imitated with a combination of arange and indexing, but it would be more convenient to have a simple drop-in replacement for these two common functions.

@jonasrauber
Copy link
Owner

Sure, if we can implement this for all frameworks, we could add it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants