ACEsuit / Polynomials4ML.jl

Polynomials for ML: fast evaluation, batching, differentiation
MIT License
12 stars 5 forks source link

Arbitrary array shapes #18

Open cortner opened 1 year ago

cortner commented 1 year ago

Can we have a simple way to allow arbitrary array shapes as inputs, use maybe PtrArrays to reshape them, then evaluate them as if they were vectors and then reshape the outputs accordingly?

Similarly, can we drop all codes that allow only a single input?

cortner commented 1 year ago

@CheukHinHoJerry -- maybe this is something you could do quite easily? But low priority.

CheukHinHoJerry commented 1 year ago

I will try to do this with product basis when I have time. After confirming that it works well we can clean up the remaining.

does that sounds good to you?

cortner commented 1 year ago

sure! but as I said - very low priority for now ...