0 votes
in PyTorch by
Which of the following function is used to covert NumPy array to Tensor?

Select the best option from below

a) .tensor

b) .to_Tensor()

c) .from_numpy()

d) .to_Vector()

1 Answer

0 votes
by
c) .from_numpy()

Related questions

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