PyTorch: Difference between revisions

Content deleted Content added
PyTorch tensors: Add reference
Change "class" to "module". The nn module of PyTorch is not a class.
Line 46:
{{main|Tensor (machine learning)}}
 
PyTorch defines a classmodule called nn (<code>torch.nn</code>) to describe neural networks and to support training. This module offers a comprehensive collection of building blocks for neural networks, including various layers and activation functions, enabling the construction of complex models.
 
== Example ==