flâneur — a map of the web's best reading

python - Understanding `torch.nn.Parameter()` - Stack Overflow

stackoverflow.com · 1,951 words · saved by 1 readers

Communities for your favorite technologies. Explore all Collectives Now available on Stack Overflow for Teams! AI features where you work: search, IDE, and chat. Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams Find centralized, trusted content and collaborate around the technologies you use most. Teams Q&A for work Connect and share knowledge within a single location that is structured and easy to search. Get early access and see previews of new features. How does torch.nn.Parameter() work? I will break it down for you. Tensors, as you might know, are multi dimensional matrices. Parameter, in its raw form, is a tensor i.e. a multi dimensional matrix. It sub-classes the Variable class. The difference between a Variable and a Parameter comes in when associated with a module. When a Parameter is associated with a module as a model attribute, it gets added to the parameter list automatically and can be

python - Understanding `torch.nn.Parameter()` - Stack Overflow The 2026 Annual Developer Survey is live— take the Survey today! Collectives™ on Stack Overflow Find centralized, trusted content and collaborate around the technologies you use most. Learn more about Collectives Stack Internal Knowledge at work Bring the best of human thought and AI automation together at your work. Explore Stack Internal Understanding `torch.nn.Parameter()` Ask Question Asked 8 years, 1 month ago Modified 1 year, 11 months ago Viewed 193k times 138 How does torch.nn.Parameter() work? python class pytorch S

Explore this link on the map →

related reading