mrdbourke / pytorch-deep-learning

Materials for the Learn PyTorch for Deep Learning: Zero to Mastery course.
https://learnpytorch.io
MIT License
9.34k stars 2.78k forks source link

Getting Started with Tensor flor - scalar.ndim #821

Open Milfordbeach opened 5 months ago

Milfordbeach commented 5 months ago

NameError Traceback (most recent call last)

in <cell line: 1>() ----> 1 scalar.ndim

NameError: name 'scalar' is not defined

seowteckkueh commented 4 months ago

could it be that the 'scalar' variable is not declared yet in your working notebook?