扁平化在PyTorch 中以三种形式提供. 作为张量方法(oop 风格) torch.Tensor.flatten 直接应用于张量: x.flatten() . 作为函数(函数形式) torch.flatten 申请为: ...
確定! 回上一頁