torch.all(input) → Tensor. 测试 input 所有元素是否评估为 True 。 Note. 对于除 uint8 之外的所有支持的dtype,此函数在返回dtype bool 的输出方面与NumPy 的行为 ...
確定! 回上一頁