正确的:. count=int(con_ref[con_ref>0.8].size(0)). 这个也是正确的:. import torch. idx=torch.Tensor(([0.1,0.2,0.5,0.6],[0.05,0.3,0.7,0.8])).
確定! 回上一頁