Open ebetica opened 6 years ago
They don't own the objects, which means you can't really create and pass in a TensorList, unless it's backed by a owning list with the tensors.
Just use a std::vector. Let's probably define this in ag, and ask ATen to hide it in detail or something.
They don't own the objects, which means you can't really create and pass in a TensorList, unless it's backed by a owning list with the tensors.
Just use a std::vector. Let's probably define this in ag, and ask ATen to hide it in detail or something.