torch.randperm does not respect TH_INDEX_BASE #911
Labels
high priority
module: dependency bug
Problem is not caused by us, but caused by an upstream library we use
Currently,
torch.randperm(10)
returnsThis is clearly wrong and unexpected behavior. Needs to return numbers in range [1, 10]
The text was updated successfully, but these errors were encountered: