Last answered:

04 Oct 2019

Posted on:

04 Oct 2019

0

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

1 answers ( 0 marked as helpful)
Instructor
Posted on:

04 Oct 2019

0
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

Submit an answer

  • Javascript
  • Python
  • Ruby
  • PHP
  • Java
  • C
  • C#
  • C++
  • HTML
  • SQL
  • R
  • Shell