ivy
ivy copied to clipboard
WIP: accumulate #3897
accumulate #3897
Hello 👋 I have a few questions about this issue. I was thinking about two possible ways to solve it:
- Use already available NumPy functionality (as it's all already implemented in C): use a native NumPy method as input for
method
and convert the input arrayarray
to a NumPy array -> I believe this does not fit the whole idea of Frontend API (using only Ivy functions) - Take as input an Ivy method, for instance,
ivy.add
orivy.multiply
, and then with the bunch of if...else use already implementedivy.cumsum
,ivy.cumprod
, etc. But this does not look future proof for me?
What do you think? Thanks in advance :)
@ddzhulaii Hello, thank you for your opinion. I also start to think about the way to implement the ufunc.
This PR has been labelled as stale because it has been inactive for more than 7 days. If you would like to continue working on this PR, then please add another comment or this PR will be closed in 7 days.
This PR has been closed because it has been marked as stale for more than 7 days with no activity.