To create a tensor, we use the torch.tensor() method. Syntax of creating one dimensional tensor is as follows: n= torch.tensor ...
確定! 回上一頁