Sth like this:
Tensor* t = new Tensor();
(t->setShape({3, 3})->setAddress(<address>)->....) // setup whatever you need.
It'll be a lot easier to design a template for the code generator if we have many mechanism to control how tensor behave at the runtime.
Mostly mem allocation for now, but I can see there'll be more to come in the future.
Sth like this:
It'll be a lot easier to design a template for the code generator if we have many mechanism to control how tensor behave at the runtime.
Mostly mem allocation for now, but I can see there'll be more to come in the future.