th> a=torch.range(1,5) [0.0001s]th> a 1 2 3 4 5[torch.DoubleTensor of size 5] [0.0002s]th> a=torch.range(1,5,2) [0.0001s]th> a 1 3 5[torch.DoubleTensor of size 3]
本文共 369 字,大约阅读时间需要 1 分钟。
th> a=torch.range(1,5) [0.0001s]th> a 1 2 3 4 5[torch.DoubleTensor of size 5] [0.0002s]th> a=torch.range(1,5,2) [0.0001s]th> a 1 3 5[torch.DoubleTensor of size 3]
转载地址:http://gsgaa.baihongyu.com/