Skip to content

Upsampling modules deprecated #11452

@FrankZijlstra

Description

@FrankZijlstra

All Upsampling modules in torch/nn/modules/upsampling.py are listed as deprecated with the following message "nn.Upsampling is deprecated. Use nn.functional.interpolate instead.". This means there is currently no way to include upsampling in a Sequential model without getting a deprecation warning. For this reason, I think the Upsample module should not be deprecated. However, it could be renamed to Interpolate to be consistent with the changes in the functional API.

Metadata

Metadata

Assignees

Labels

todoNot as important as medium or high priority tasks, but we will work on these.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions