docs: fix input shape and output-channel description in avg_pool3d by rahul05ranjan · Pull Request #200906 · pytorch/pytorch · GitHub
Skip to content

docs: fix input shape and output-channel description in avg_pool3d - #200906

Open
rahul05ranjan wants to merge 1 commit into
pytorch:mainfrom
rahul05ranjan:doc/fix-avgpool3d-shape-desc
Open

rahul05ranjan wants to merge 1 commit into
pytorch:mainfrom
rahul05ranjan:doc/fix-avgpool3d-shape-desc

Conversation

@rahul05ranjan

Copy link
Copy Markdown

The avg_pool3d docstring described the input shape as (minibatch, in_channels, iT × iH, iW), incorrectly merging the depth and height dimensions, and stated that the number of output features is floor(input planes / sT). Average pooling preserves the channel dimension, so this PR separates the input shape into (minibatch, in_channels, iT, iH, iW) and states that the output has the same number of channels as the input, while keeping the existing link to nn.AvgPool3d for spatial output-shape details.

Fixes #200589

@pytorch-bot

pytorch-bot Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

@linux-foundation-easycla

linux-foundation-easycla Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: rahul05ranjan / name: rahul05ranjan (adf2f58)

@github-actions github-actions Bot added bot-triaged This is a label only to be used by the auto triage bot missing actionable issue A PR without a linked actionable issue or maintainer sponsor triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module labels Oct 14, 2026
@soulitzer soulitzer added missing actionable issue A PR without a linked actionable issue or maintainer sponsor and removed missing actionable issue A PR without a linked actionable issue or maintainer sponsor labels Oct 15, 2026
@rahul05ranjan

Copy link
Copy Markdown
Author

@pytorch-bot pytorch-bot Bot added the topic: not user facing topic category label Oct 19, 2026

This branch was previously deployed

1 inactive deployment
bedrock — adf2f58a Deployed Oct 14, 2026 by pytorchbot via analyze #7940
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot-triaged This is a label only to be used by the auto triage bot missing actionable issue A PR without a linked actionable issue or maintainer sponsor open source topic: not user facing topic category triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[doc] Fix input shape and output-channel description in avg_pool3d

3 participants