We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f127713 commit 1f7d131Copy full SHA for 1f7d131
scoringrules/backend/torch.py
@@ -288,4 +288,4 @@ def indices(self, dimensions: tuple) -> "Tensor":
288
return indices
289
290
def roll(self, x: "Tensor", shift: int = 1, axis: int = -1) -> "Tensor":
291
- return torch.roll(x, shift=shift, dims=axis)
+ return torch.roll(x, shifts=shift, dims=axis)
0 commit comments