📜  pytorch 创建张量 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:24.792000             🧑  作者: Mango

代码示例1
torch.tensor([[1., -1.], [1., -1.]])