torch.Size([])
可以通過(guò)調(diào)用 shape 和 dim 來(lái)查看 const_2 的類(lèi)型
len(const_2.shape)
0
const_2.dim()
const_2.size()