0 votes
in PyTorch by

Which of the following function is used to convert NumPy array to Tensor?

Select the best option from below

a) .from_numpy().to_Tensor()

b) .from_numpy()

1 Answer

0 votes
by
b) .from_numpy()

Related questions

+2 votes
asked Jul 3, 2021 in NumPy by sharadyadav1986
0 votes
asked Aug 7, 2021 in PyTorch by sharadyadav1986
...