Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

concatenate two tensors pytorch

torch.cat(tensors, dim) 
#torch.cat((tensor1, tensor2, ...), 0) concatenates axis 0
 
PREVIOUS NEXT
Tagged: #concatenate #tensors #pytorch
ADD COMMENT
Topic
Name
9+5 =