Boolean value of Tensor with more than one value

Boolean value of Tensor with more than one value is ambiguous
因为 tensor 类型变量 不是数字 需要来个item
Boolean value of Tensor with more than one value_第1张图片

你可能感兴趣的:(Boolean value of Tensor with more than one value)