taco icon indicating copy to clipboard operation
taco copied to clipboard

Question on adding API coverage to python bindings

Open sayandip18 opened this issue 3 years ago • 2 comments

Hi! I have opened this issue to ask some general questions regarding the GSoC project that aims to complete the Python bindings for TACO.

From what I've discussed with Hameer Abbasi(unable to tag him here), I've come to realize that implementing universal functions are among the goals right now. For instance, we cannot do something like applying certain ufunc directly to a tensor. It has to be densified. The following lines of code give an error as expected.

>>> import pytaco as pt
>>> import numpy as np
>>> from pytaco import dense, compressed
>>> A = pt.tensor([512, 64, 2048], pt.format([dense, compressed, compressed]), pt.float64)
>>> np.exp(A)

What more would TACO as a community like to see implemented as part of the GSoC project?

sayandip18 avatar Mar 31 '21 22:03 sayandip18

cc @fredrikbk

rohany avatar Apr 01 '21 20:04 rohany

This ties directly into the array API we have discussed at the meetings. If we could provide @sayandip18 with some guidance on tasks he may be able to help out.

hameerabbasi avatar Apr 05 '21 10:04 hameerabbasi