You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for creating the rTorch package. This will be a great way to make neural networks accessible to the many scientists who use R but not Python.
I'm wondering if/how I can access help files for functions not listed in the manual provided on cran. The functions in this package are accessed similarly to Python, which is different from how typical R functions work, so I'm having trouble finding out exactly what arguments are available for each function. Here is an example from here.
library(rTorch) # (after setting up conda environment)
N <- 64L; D_in <- 1000L
device = torch$device('cpu')
x <- torch$randn(N, D_in, device=device)
I'm wondering how can I find documentation for the function randn; this would typically done in R via ?torch$randn, but R does not allow this. I could go into python and type help(torch.randn) to access the documentation, but I'm wondering if there is a better way in R.
The text was updated successfully, but these errors were encountered:
Thank you for creating the
rTorch
package. This will be a great way to make neural networks accessible to the many scientists who use R but not Python.I'm wondering if/how I can access help files for functions not listed in the manual provided on cran. The functions in this package are accessed similarly to Python, which is different from how typical R functions work, so I'm having trouble finding out exactly what arguments are available for each function. Here is an example from here.
I'm wondering how can I find documentation for the function
randn
; this would typically done in R via?torch$randn
, but R does not allow this. I could go into python and typehelp(torch.randn)
to access the documentation, but I'm wondering if there is a better way in R.The text was updated successfully, but these errors were encountered: