Thanks for the reply.
My setup:
ATen c++  <–> C-api <–> kdb+ interpreter
I don’t think I can pass a Tensor object through this setup,
just a pointer.
I was able to do something like this:
auto t=new Tensor(CPU(kFloat).tensor(size));
this pointer can be sent back and forth,
and needs to be free’d later with
delete t;