How to create a tensor based on another one – Studying pytorch in practice
I’m studying IA using pytorch and implementing some toy examples.
First, I created a one dimensional tensor (X) and a second tensor (y), derived from the first one:
I’m studying IA using pytorch and implementing some toy examples.
First, I created a one dimensional tensor (X) and a second tensor (y), derived from the first one: