ivy icon indicating copy to clipboard operation
ivy copied to clipboard

WIP: accumulate #3897

Open ddzhulaii opened this issue 2 years ago • 2 comments

accumulate #3897

ddzhulaii avatar Sep 05 '22 16:09 ddzhulaii

Hello 👋 I have a few questions about this issue. I was thinking about two possible ways to solve it:

  1. 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 array array to a NumPy array -> I believe this does not fit the whole idea of Frontend API (using only Ivy functions)
  2. Take as input an Ivy method, for instance, ivy.add or ivy.multiply, and then with the bunch of if...else use already implemented ivy.cumsum , ivy.cumprod, etc. But this does not look future proof for me?

What do you think? Thanks in advance :)

ddzhulaii avatar Sep 06 '22 11:09 ddzhulaii

@ddzhulaii Hello, thank you for your opinion. I also start to think about the way to implement the ufunc.

kimbring2 avatar Sep 06 '22 21:09 kimbring2

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.

ivy-seed avatar Oct 20 '22 06:10 ivy-seed

This PR has been closed because it has been marked as stale for more than 7 days with no activity.

ivy-seed avatar Oct 27 '22 06:10 ivy-seed