I am running PyTorch 1.0.1.post2.  I was looking at the type signature for torch.cat which is listed as:
def cat(tensors: Tuple[Tensor, ...], dim: int=0, *, out: Optional[Tensor]=None) -> Tensor: ...
My understanding here is that it is expecting tensors to a tuple of Tensor objects.  This feels overly restrictive as I often use list objects since a variable length sequence of objects. Similarly in the PyTorch docs for cat, it says:



tensors  ( sequence of Tensors ) – any python sequence of tensors of the same type. Non-empty tensors provided must have the same shape, except in the cat dimension.


By stating “sequence of tensors of the same type”, it feels like the docs did not intend for it to be limited to simply a tuple.
If I am missing something here, I would appreciate being corrected.  If this merits an issue report, I can submit one on GitHub including if appropriate submitting a pull request.