Update linspace and logspace to throw an error when steps is not provided #55951
Labels
module: deprecation
module: tensor creation
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
torch.linspace() and torch.logspace() currently throw warnings when not given steps:
and their documentation also warns that failing to provide steps is deprecated (linspace docs, logspace docs).
We should update these operators to require steps be specified for PyTorch 1.9.
cc @gchanan @mruberry
The text was updated successfully, but these errors were encountered: