Jump to content

PyTorch: Difference between revisions

70 bytes added ,  26 July 2023
Line 45: Line 45:


==Usage==
==Usage==
Note that there are some useful functions under <code>torch.nn.functional</code> which is typically imported as <code>F</code>.
Note that there are several useful functions under <code>torch.nn.functional</code> which is typically imported as <code>F</code>.
Most neural network layers are actually implemented in functional.


===torch.meshgrid===
===torch.meshgrid===