1. 学ぶ
  2. /
  3. コース
  4. /
  5. Introduction to Deep Learning with PyTorch

Connected

演習

Checking and adding tensors

While collecting temperature data, you notice the readings are off by two degrees. Add two degrees to the temperatures tensor after verifying its shape and data type with torch to ensure compatibility with the adjustment tensor.

The torch library and the temperatures tensor are loaded for you.

指示1 / 2

undefined XP
    1
    2
  • Display the shape of the adjustment tensor.
  • Display the data type of the adjustment tensor.