Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

torch.stack

> torch.stack(
    (t1,t2,t3)
    ,dim=0
)
tensor([[1, 1, 1],
        [2, 2, 2],
        [3, 3, 3]])
Source by deeplizard.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
5+8 =