Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: correct wrong information about indexing #1087

Merged
merged 2 commits into from
Aug 10, 2023

Conversation

sebffischer
Copy link
Collaborator

No description provided.

@sebffischer
Copy link
Collaborator Author

sebffischer commented Aug 10, 2023

The docs also show it, but here is a similar example as well:

library(torch)
#> Warning: package 'torch' was built under R version 4.3.0
x = torch_ones(10)
x = x$reshape(c(2, 5))

x[1]
#> torch_tensor
#>  1
#>  1
#>  1
#>  1
#>  1
#> [ CPUFloatType{5} ]

Created on 2023-08-10 with reprex v2.0.2

@sebffischer sebffischer changed the title docs: remove incorrect information docs: correct wrong information about indexing Aug 10, 2023
@dfalbel dfalbel merged commit d8d6d28 into mlverse:main Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants