Incorrect behavior for torch.linspace #2412
Labels
bug
Unexpected behaviour that should be corrected (type)
PyTorch (traced)
triaged
Reviewed and examined, release as been assigned if applicable (status)
🐞Describing the bug
When
end
inlinspace(start=constant, end=dynamic, steps=constant)
is dependent on an array of unknown length, linspace behaves unexpected in two ways:steps
elements)Both issues do not exist when
end
is a constant.To Reproduce
System environment (please complete the following information):
The text was updated successfully, but these errors were encountered: