The array API specification stipulates that torch.linspace should have a endpoint: bool = True parameter. If False, the right bound should be exclusive, i.e. [start, end) rather than [start, end].
cc @gchanan @mruberry @rgommers @pmeier @asmeurer @leofang @AnirudhDagar @asi1024 @emcastillo @kmaehashi
The array API specification stipulates that
torch.linspaceshould have aendpoint: bool = Trueparameter. IfFalse, the right bound should be exclusive, i.e.[start, end)rather than[start, end].cc @gchanan @mruberry @rgommers @pmeier @asmeurer @leofang @AnirudhDagar @asi1024 @emcastillo @kmaehashi