Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende Challenge: Initializing Tensors | Section
Neural Networks and Deep Learning Foundations with PyTorch
Sección 1. Capítulo 4
single

single

bookChallenge: Initializing Tensors

Desliza para mostrar el menú

Tarea

Desliza para comenzar a programar

  1. Create a 2x3 tensor filled with zeros using the torch.zeros() function.
  2. Create a 1D tensor with integer values from 1 to 10 inclusive (11 exclusive) using the torch.arange() function.
  3. Create a 1D tensor with 10 evenly spaced values between 2 and 4 inclusive using the torch.linspace() function.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 1. Capítulo 4
single

single

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

some-alt