Skip to content

Commit

Permalink
Fix 404 URL
Browse files Browse the repository at this point in the history
  • Loading branch information
dfalbel committed Jan 30, 2025
1 parent c02d59f commit 8cbd3f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vignettes/indexing.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ z[..,1]
Vector indexing is also supported but care must be taken regarding performance as, in general its much less performant than slice based indexing.

> Note: Starting from version 0.5.0, vector indexing in torch follows R semantics,
prior to that the behavior was similar to [numpy's advanced indexing](https://numpy.org/doc/stable/reference/arrays.indexing.html#advanced-indexing).
prior to that the behavior was similar to [numpy's advanced indexing](https://numpy.org/doc/2.2/user/basics.indexing.html#advanced-indexing).
To use the old behavior, consider using `?torch_index`, `?torch_index_put` or `torch_index_put_`.

```{r}
Expand Down

0 comments on commit 8cbd3f2

Please sign in to comment.