Shortcuts

torch.Tensor.var

Tensor.var(dim=None, *, correction=1, keepdim=False) 张量

参见 torch.var()