pytorch multinomial 报错 device-side assert triggered
/pytorch/aten/src/THC/THCTensorRandom.cuh:187:voidsampleMultinomialOnce(long*,long,int,T*,T*,int,int)[withT=float,AccT=float]:block:[6,0,0],thread:[5,0,0]Assertion`THCNumerics::ge(val,zero)`failed.因为m