Datasets:
File size: 89 Bytes
835424e | 1 2 3 4 5 6 | import torch as t
x = t.tensor([[1,1], [2,2], [3,3], [4,4]])
y = x.pow(1)
print(y) |
835424e | 1 2 3 4 5 6 | import torch as t
x = t.tensor([[1,1], [2,2], [3,3], [4,4]])
y = x.pow(1)
print(y) |