The 365 Data Science team is proud to invite you to our own community forum. A very well built system to support your queries, questions and give the chance to show your knowledge and help others in their path of becoming Data Science specialists.
Ask
Anybody can ask a question
Answer
Anybody can answer
Vote
The best answers are voted up and moderated by our team

Is there a technique to convert numpy array into tensor.(in pytorch we can use torch.Tensor).

Is there a technique to convert numpy array into tensor.(in pytorch we can use torch.Tensor).

0
Votes
1
Answer
1 Answer

365 Team
0
Votes

Hi Radjen!
 
ndarrays are nothing but tensors.
 
So there is no need to convert them into tensors – they are tensors by definition!
 
Best,
The 365 Team

×
LAST CHANCE
Ready to Learn Data Science?
50% OFF