I have this simple (pointless) loop:
auto input = cppflow::tensor(inData, shape);
for (size_t i = 0; i < 50000; i++)
auto res = model(input);
It eats memory in every iteration. It seems that in every iteration it makes 2 additional allocations. I'm not sure where I'm wrong.
Thanks,