cryptodeal / zigTensor

Home Page:https://cryptodeal.github.io/zigTensor/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support Operator Overloading

cryptodeal opened this issue · comments

What is the problem this feature would solve?

Add support for operator overloading so that it's possible to do:

var c: Tensor = a + b;

Rather than requiring, which is the status quo:

var c: Tensor = add(a, b);

What is the feature you are proposing to solve the problem?

Likely can employ a library such as comath or at least employ a customized approach similar to what's used in comath to enable processing this at comptime.

What alternatives have you considered?

No response