dot函数时间:2023-03-09 20:11:25 dot函数是两个向量的点乘,注意lua中dot函数的写法 th> a [torch.DoubleTensor of size 1x3] [.0002s] th> b [torch.DoubleTensor of size 1x3] [.0002s] th> c=a:dot(b) [.0001s] th> c