tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

NEW: recipe tutorial on how to calculate layer output dimensions

Open loganthomas opened this issue 1 year ago • 1 comments

Fixes #2926 Replaces #2923 (accidental deletion)

Description

New recipe tutorial on how to calculate layer output dimensions

  • How to transition from convolution and pooling layers to linear layers in a model
  • How to manually calculate the output dimensions after applying a convolution or pooling layer
  • How to print the shape of internal tensors for inspecting dimensionality changes in a model
  • How to use the torchinfo package to show output dimensions for all layers in a model

Checklist

  • [X] The issue that is being fixed is referred in the description (see above "Fixes #ISSUE_NUMBER")
  • [X] Only one issue is addressed in this pull request
  • [X] Labels from the issue that this PR is fixing are added to this pull request
  • [X] No unnecessary issues are included into this pull request.

loganthomas avatar Jun 19 '24 20:06 loganthomas

:link: Helpful Links

:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/tutorials/2944

Note: Links to docs will display an error until the docs builds have been completed.

:white_check_mark: No Failures

As of commit 6ce19d75c32cdbba7c8a6434787f79ecd8daaf4f with merge base 0740801fa8df2464f4d931d36a4bd7ada9cd0519 (image): :green_heart: Looks good so far! There are no failures yet. :green_heart:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

pytorch-bot[bot] avatar Jun 19 '24 20:06 pytorch-bot[bot]

Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as Stale.
Feel free to remove the Stale label if you feel this was a mistake.
If you are unable to remove the Stale label please contact a maintainer in order to do so.
If you want the bot to never mark this PR stale again, add the no-stale label.
Stale pull requests will automatically be closed after 30 days of inactivity.

github-actions[bot] avatar Sep 27 '24 00:09 github-actions[bot]