Hi,
I’m testing pytorch mobile capabilities and when I try to forward a single tensors there’s no problem.
But trying to pass a list of tensors is completely different.
I declared and defined an array of tensors in which I passed the images I want to forward to the module.
Then I convert that to a list of tensors with this: “List i = Arrays.asList(mInputTensor);”.
Because I would like to pass the entire list to the forward method, then I do: “final Tensor[] o = module.forward(IValue.listFrom(i)).toTensorList();”.
But this expression gives me errors, I can’t understand where is the problem, could anyone help me with this?
Thanks