Click in order · Python course · Module 9: Machine Learning

Creating a Tensor

Click the buttons to create a tensor from a list:

Items to click

  • torch
  • (
  • tensor
  • .
  • [1, 2, 3]
  • )

You can check the correct answer by solving this task in the CodeWorlds game.