PyTorch索引,切片,连接,换位Indexing, Slicing, Joining, Mutating Ops
#PyTorch索引,切片,连接,换位Indexing,Slicing,Joining,MutatingOps##torch.cattorch.cat(inputs,dimension=0)→Tensor在给定维度上对输入的张量序列进行连接操作。torch.cat()可以看做torch.split()和torch.chunk()的反操作。###参数:inputs(sequenceofTensors